Snort-alerts/WEB-PHP-phpBB-viewtopic-double-URL-encoding-attempt

From aldeid
Jump to navigation Jump to search

WEB-PHP phpBB viewtopic double URL encoding attempt

Identification

Id 12610
Alert WEB-PHP phpBB viewtopic double URL encoding attempt
Classification web-application-attack

Trigger

viewtopic.php in phpBB 2.x before 2.0.11 improperly URL decodes the highlight parameter when extracting words and phrases to highlight, which allows remote attackers to execute arbitrary PHP code by double-encoding the highlight value so that special characters are inserted into the result, which is then processed by PHP exec, as exploited by the Santy.A worm.

Affected systems

phpBB Group phpBB 29

Impact

Denial of Service. Information disclosure. Loss of integrity.

False positives

None known

Scenario

An attacker includes a remote file containing a malicious code via the URL.

Example

Corrective actions

  • Upgrade to the latest non-affected version of the software.
  • Apply the appropriate vendor supplied patches.