Skip to content
Threat Feed
high advisory

AiOPMSD Final 1.0.0 SQL Injection Vulnerability (CVE-2018-25420)

AiOPMSD Final 1.0.0 is vulnerable to SQL injection via the 'id' parameter in the watch.php script, allowing unauthenticated attackers to send crafted GET requests with SQL payloads to extract sensitive database information.

AiOPMSD Final version 1.0.0 is susceptible to SQL injection, posing a significant risk to web servers running the application. The vulnerability, identified as CVE-2018-25420, allows unauthenticated attackers to execute arbitrary SQL queries by injecting malicious code through the ‘id’ parameter in the watch.php script. This flaw allows remote attackers to extract sensitive data from the database, including usernames, database names, and version information, without requiring any prior authentication or privileges. Successful exploitation can lead to complete database compromise and potential system takeover.

Attack Chain

  1. An unauthenticated attacker identifies a vulnerable AiOPMSD Final 1.0.0 installation.
  2. The attacker crafts a malicious SQL payload designed to extract sensitive information.
  3. The attacker constructs a GET request targeting the watch.php script.
  4. The crafted SQL payload is injected into the ‘id’ parameter of the GET request (e.g., watch.php?id=SQL_INJECTION_PAYLOAD).
  5. The webserver processes the GET request and passes the SQL payload to the database.
  6. Due to the SQL injection vulnerability, the malicious SQL query is executed against the database.
  7. Sensitive data, such as usernames, database names, and version details, is extracted by the attacker.
  8. The attacker uses the extracted information for further malicious activities, such as privilege escalation or data exfiltration.

Impact

Successful exploitation of the SQL injection vulnerability in AiOPMSD Final 1.0.0 can lead to the complete compromise of the database. Attackers can gain unauthorized access to sensitive information, potentially affecting all users and data stored within the system. This could result in data breaches, financial loss, reputational damage, and legal liabilities. Given the CVSS v3.1 base score of 8.2, this vulnerability is considered high severity.

Recommendation

  • Deploy the Sigma rule “Detect CVE-2018-25420 Exploitation Attempt — AiOPMSD SQL Injection” to identify exploitation attempts against the watch.php endpoint.
  • Apply input validation and sanitization to the ‘id’ parameter in the watch.php script to prevent SQL injection attacks.
  • Monitor web server access logs for suspicious GET requests targeting the watch.php script with unusual parameters.
  • Upgrade AiOPMSD Final to a patched version or implement a web application firewall (WAF) rule to block malicious SQL payloads.

Detection coverage 2

Detect CVE-2018-25420 Exploitation Attempt — AiOPMSD SQL Injection

high

Detects CVE-2018-25420 exploitation attempt — SQL injection in AiOPMSD Final 1.0.0 watch.php via GET request with suspicious 'id' parameter.

sigma tactics: initial_access techniques: T1190 sources: webserver

Detect Suspicious SQL Keywords in URI Query

medium

Detects suspicious SQL keywords in URI queries, potentially indicating SQL injection attempts.

sigma tactics: initial_access techniques: T1190 sources: webserver

Detection queries are available on the platform. Get full rules →