SPIP spip_rss.php directory traversal local file include

spip-rss-file-include (24600) The risk level is classified as MediumMedium Risk

Description:

SPIP could allow a remote attacker to execute arbitrary commands on the system. A remote attacker could embed arbitrary commands into the spip.log file using the spip_access_doc.php script and then send a specially-crafted URL request containing "dot dot" sequences (../) and a NULL byte character (%00) to the spip_rss.php script using the GLOBALS[type_urls] parameter to specify the spip.log file, which would allow the attacker to execute the previously embedded commands on the system.

Platforms Affected:

  • Spip, Spip 1.8.2g and prior

Remedy:

Upgrade to the latest version of SPIP (1.8.2-g or later), available from the SPIP Web site. See References.

Consequences:

Gain Access

References:

  • rgod Web page, SPIP <= 1.8.2g remote commands execution through arbitrary local inclusion / sql injection at http://retrogod.altervista.org/spip_182g_shell_inj_xpl.html.
  • SPIP Web site, SPIP at http://www.spip.net/en.
  • BID-16556: SPIP Spip_RSS.PHP Remote Command Execution Vulnerability
  • CVE-2006-0625: Directory traversal vulnerability in Spip_RSS.PHP in SPIP 1.8.2g and earlier allows remote attackers to read or include arbitrary files via .. sequences in the GLOBALS[type_urls] parameter, which could then be used to execute arbitrary code via resultant direct static code injection in the file parameter to spip_acces_doc.php3.
  • OSVDB ID: 23086: SPIP spip_rss.php type_urls Variable Traversal Local File Inclusion
  • SA18676: SPIP Cross-Site Scripting and SQL Injection Vulnerabilities
  • SECTRACK ID: 1015602: SPIP Include File Bug in `spip_rss.php` Lets Remote Users Execute Arbitrary Code
  • VUPEN/ADV-2006-0483: SPIP spip_log and include_local Remote Code Injection Vulnerabilities

Reported:

Feb 08, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page