CVE-2018-25422 in MOGG Web Simulator Scriptinfo

Summary

by MITRE • 05/30/2026

MOGG web simulator Script contains an SQL injection vulnerability that allows unauthenticated attackers to execute arbitrary SQL commands by injecting malicious code through the id parameter. Attackers can send GET requests to play.php with crafted SQL payloads in the id parameter to extract sensitive database information including usernames and other data.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 05/31/2026

The MOGG web simulator presents a critical SQL injection vulnerability that fundamentally compromises the security posture of the application. This vulnerability exists within the play.php script where the id parameter is directly incorporated into SQL queries without proper input sanitization or parameterization. The flaw allows unauthenticated attackers to manipulate database queries by injecting malicious SQL code through the id parameter, effectively bypassing authentication mechanisms and gaining unauthorized access to sensitive information. The vulnerability stems from improper input validation practices where user-supplied data flows directly into database execution contexts without adequate security controls.

The technical implementation of this vulnerability follows established patterns of SQL injection attacks where the id parameter serves as the primary attack vector. When an attacker crafts a GET request to play.php with malicious SQL payloads in the id parameter, the application processes these inputs without proper sanitization, leading to arbitrary SQL command execution. This allows attackers to extract sensitive database information including usernames, passwords, and other confidential data stored within the application's backend database. The vulnerability is particularly dangerous because it operates without requiring authentication credentials, making it accessible to any attacker who can reach the application's endpoint.

From an operational impact perspective, this vulnerability creates significant risk for organizations using the MOGG web simulator. Attackers can leverage this weakness to perform data exfiltration, potentially accessing user accounts, system configurations, and other sensitive information. The vulnerability enables unauthorized database access that could lead to complete system compromise, data breaches, and potential lateral movement within network environments. The attack surface is expanded due to the unauthenticated nature of the exploit, meaning that even systems behind firewalls or with restricted access can be compromised through this vector.

Security professionals should address this vulnerability through immediate remediation efforts focusing on input validation and parameterized queries. The primary mitigation involves implementing proper input sanitization and using parameterized database queries to prevent user input from being interpreted as SQL commands. Additionally, organizations should implement web application firewalls to detect and block malicious SQL injection attempts, establish proper access controls to limit database connectivity, and conduct regular security assessments to identify similar vulnerabilities. The vulnerability aligns with CWE-89 which specifically addresses SQL injection flaws, and maps to ATT&CK technique T1190 for exploitation of vulnerabilities in web applications. Organizations should also consider implementing database activity monitoring and regular security training for development teams to prevent similar issues in future applications.

Responsible

VulnCheck

Reservation

05/30/2026

Disclosure

05/30/2026

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00070

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!