OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[SA33447] CuteNews Cross-Site Scripting and PHP Code Execution Vulnerabilities

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Thu Jan 15 2009 - 21:24:04 CST


----------------------------------------------------------------------

Did you know that a change in our assessment rating, exploit code
availability, or if an updated patch is released by the vendor, is
not part of this mailing-list?

Click here to learn more:
http://secunia.com/advisories/business_solutions/

----------------------------------------------------------------------

TITLE:
CuteNews Cross-Site Scripting and PHP Code Execution Vulnerabilities

SECUNIA ADVISORY ID:
SA33447

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

CRITICAL:
Less critical

IMPACT:
System access, Cross Site Scripting

WHERE:
From remote

SOFTWARE:
CuteNews 1.x
http://secunia.com/advisories/product/1798/

DESCRIPTION:
athos has discovered some vulnerabilities in CuteNews, which can be
exploited by malicious people to conduct cross-site scripting attacks
and by malicious users to compromise a vulnerable system.

1) Input passed to the "mod" parameter in index.php is not properly
sanitised before being returned to the user. This can be exploited to
execute arbitrary HTML and script code in a logged in user's browser
session in the context of an affected site.

2) Input passed to the "add_ip" parameter when blocking IP addresses
is not properly sanitised before being stored in data/ipban.db.php.
This can be exploited to inject and execute arbitrary PHP code.

Successful exploitation of this vulnerability requires administrative
privileges and that support for ".htaccess" files is disabled.

The vulnerabilities are confirmed in version 1.4.6. Other versions
may also be affected.

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

PROVIDED AND/OR DISCOVERED BY:
athos

ORIGINAL ADVISORY:
http://milw0rm.com/exploits/7700

----------------------------------------------------------------------

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/advisories/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/advisories/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.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------