|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
[SA18972] PHP-Nuke Personal Menu Script Insertion and SQL Injection
From: Secunia Security Advisories (sec-adv
secunia.com)
Date: Wed Feb 22 2006 - 05:17:21 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
TITLE:
PHP-Nuke Personal Menu Script Insertion and SQL Injection
SECUNIA ADVISORY ID:
SA18972
VERIFY ADVISORY:
http://secunia.com/advisories/18972/
CRITICAL:
Moderately critical
IMPACT:
Cross Site Scripting, Manipulation of data
WHERE:
From remote
SOFTWARE:
PHP-Nuke 7.x
http://secunia.com/product/2385/
DESCRIPTION:
Jason Lau has discovered two vulnerabilities in PHP-Nuke, which can
be exploited by malicious people to conduct SQL injection and script
insertion attacks.
1) Input passed to the "ublock" parameter in the "Your_Home"
functionality of the "Your_Account" module isn't properly sanitised
before being saved as the user's personal menu. This can be exploited
to execute arbitrary HTML and script code in a user's browser session
in context of an affected site when the user views his personal
menu.
Example:
<img src=javascript:[code]>
(requires the Microsoft Internet Explorer browser)
2) Input passed to the "user_id" parameter in the "Your_Home"
functionality of the "Your_Account" module isn't properly sanitised
before being used in a SQL query. This can be exploited to manipulate
SQL queries by injecting arbitrary SQL code. This can be further
exploited with vulnerability #1 to inject arbitrary HTML and script
code into arbitrary user's personal menu.
Successful exploitation requires that "magic_quotes_gpc" is
disabled.
The vulnerabilities have been confirmed in version 7.8. Other
versions may also be affected.
SOLUTION:
Edit the source code to ensure that input is properly sanitised.
PROVIDED AND/OR DISCOVERED BY:
Jason Lau
----------------------------------------------------------------------
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.
----------------------------------------------------------------------
Unsubscribe: Secunia Security Advisories
----------------------------------------------------------------------
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]