MOGG web simulator Script SQL Injection Vulnerability (CVE-2018-25422)
MOGG web simulator Script is vulnerable to SQL injection (CVE-2018-25422), allowing unauthenticated attackers to execute arbitrary SQL commands via the id parameter in play.php, potentially leading to sensitive data extraction.
MOGG web simulator Script is susceptible to an SQL injection vulnerability (CVE-2018-25422). Unauthenticated attackers can exploit this flaw by injecting malicious SQL code through the id parameter in the play.php script. Successful exploitation allows attackers to execute arbitrary SQL commands, potentially enabling them to extract sensitive database information, including usernames and other confidential data. The vulnerability poses a significant risk as it requires no authentication, making it easily exploitable by remote attackers. This vulnerability was reported on 2026-05-30.
Attack Chain
- An attacker identifies the vulnerable
play.phpscript within the MOGG web simulator. - The attacker crafts a malicious SQL payload designed to extract data or manipulate the database.
- The attacker sends a GET request to
play.php, embedding the SQL payload in theidparameter (e.g.,play.php?id=1'+UNION+SELECT+username,password+FROM+users--). - The web application fails to properly sanitize the input from the
idparameter. - The application executes the attacker’s injected SQL code against the database.
- The database processes the malicious query and returns the requested sensitive information.
- The attacker captures the database response containing the extracted data (e.g., usernames, passwords).
- The attacker uses the extracted data for further malicious activities, such as unauthorized access or data breaches.
Impact
Successful exploitation of this SQL injection vulnerability can lead to the exposure of sensitive data, including usernames, passwords, and potentially other confidential information stored in the database. An attacker could leverage this access to compromise user accounts, gain unauthorized access to the system, or perform further malicious activities. Given the unauthenticated nature of the vulnerability, the risk is significantly elevated, potentially impacting all users of the MOGG web simulator Script.
Recommendation
- Apply appropriate input validation and sanitization to the
idparameter inplay.phpto prevent SQL injection attacks. - Deploy the Sigma rule
Detect MOGG Web Simulator SQL Injection Attemptto identify and block malicious requests targeting the vulnerableplay.phpscript. - Monitor web server logs for suspicious GET requests to
play.phpcontaining SQL injection payloads. - Consider using parameterized queries or prepared statements to prevent SQL injection vulnerabilities.
Detection coverage 2
Detect MOGG Web Simulator SQL Injection Attempt
highDetects CVE-2018-25422 exploitation — attempts to exploit SQL injection in MOGG web simulator's play.php via GET requests.
Detect MOGG Web Simulator - play.php Access
infoDetects access to the play.php page which may indicate potential exploitation activity
Detection queries are available on the platform. Get full rules →