[SA22000] Feedsplitter Script Insertion and Local File Inclusion

Type securityvulns
Reporter Securityvulns
Modified 2006-09-23T00:00:00


TITLE: Feedsplitter Script Insertion and Local File Inclusion


VERIFY ADVISORY: http://secunia.com/advisories/22000/

CRITICAL: Moderately critical

IMPACT: Cross Site Scripting, Exposure of sensitive information, System access

WHERE: >From remote

SOFTWARE: Feedsplitter http://secunia.com/product/12011/

DESCRIPTION: Jonathan Rockway has reported some vulnerabilities in Feedsplitter, which can be exploited by malicious people to disclose certain sensitive information, conduct script insertion attacks, or compromise a vulnerable system.

1) Some input validation errors exist in the processing of RSS/RDF feeds in feedsplitter.php. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of a site that uses the Feedsplitter script to display content from a malicious feed.

2) Input passed to the "format" parameter in feedsplitter.php is not properly verified before being used to parse files. This can be exploited to disclose the contents of certain XML files on the system via directory traversal attacks.

Note: This can further be exploited to execute arbitrary PHP code on a vulnerable system, but requires that "magic_quotes_gpc" is disabled and that the path to the cache directory is known when not using the default setting. The script also contains a function "showsource()", which can be used to disclose the source code of the script.

The vulnerabilities have been confirmed in version 2006-01-21. Other versions may also be affected.

SOLUTION: Edit the source code to ensure that input is properly sanitised and verified.


About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities.

Subscribe: http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/

Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor.