On this page

Atomicorp WAF Rule 378491

Rule Summary

  • Rule ID: 378491
  • Status: Active
  • Alert message: Atomicorp.com WAF Rules - Virtual Just In Time Patch: Possible Attempt to Exploit PHP CGI command injection vulnerablity
  • Observed CWEs: CWE-77 (1)
  • Revision: 6
  • Rule severity: Critical (2)
  • Phase: 2 (request body)
  • Rule action: deny
  • HTTP status: 403
  • Logging: log, auditlog

Description

This rule detects when an attacker attempts to exploit the PHP CGI command injection vulnerability, CVE-2012-1823. This exploit works when an attacker submits command line arguments to a php application in the URL. If PGP is running in CGI mode it will allow this, and these command line arguments can be used to perform any action with PHP, including overriding php.ini, injecting code, replace code and other actions.

This is a critical vulnerability being actively exploited.

This rule works by detecting the use of a command line switches in the query string.

False Positives

No known false positives.

It is not recommended that you disable this rule if you believe you have a false positive. If you believe this is a false positive, please report this to our security team to determine if this is a legitimate case, or if its clever attack on your system. Instructions to report false positives are detailed on the Reporting False Positives wiki page. If it is a false positive, we will fix the issue in the rules and get a release out to you promptly.

Tuning Guidance

None.

Similar Rules

WAF_378371

This is a selected list of documented research observations, not an exhaustive coverage matrix. Absence of a CVE does not imply absence of protection.

CVEVulnerabilityProductCVSSSeverity
CVE-2012-1823PHP CGI v5.3.12/5.4.2 Remote Code Executionphp9.8 (v3.1)Critical

Observed CWEs

These CWEs are recorded on published CVEs in the selected observations associated with this rule. They are observational relationships, not a claim that the rule universally blocks every vulnerability assigned to a CWE.

CWERelated Published CVEs
CWE-77CVE-2012-1823

Documentation Source

  • Original wiki page: WAF 378491
  • Source revision: 2440
  • Source revision date: 2012-06-22