OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SA10551] HotNews Arbitrary File Inclusion Vulnerability

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Tue Jan 06 2004 - 07:45:56 CST


TITLE:
HotNews Arbitrary File Inclusion Vulnerability

SECUNIA ADVISORY ID:
SA10551

VERIFY ADVISORY:
http://www.secunia.com/advisories/10551/

CRITICAL:
Highly critical

IMPACT:
System access

WHERE:
From remote

SOFTWARE:
HotNews 0.x

DESCRIPTION:
Officerrr has identified a vulnerability in HotNews, allowing
malicious people to compromise a vulnerable system.

The problem is that the include files "hnmain.inc.php3" and
"hotnews-engine.inc.php3" don't verify the "config["header"]" and
"config["incdir"]" parameters properly. This can be exploited to
include arbitrary PHP code from local and external resources.

The vulnerability has been confirmed in 0.7.2. Prior versions may
also be affected.

SOLUTION:
Protect the "includes" directory with .htaccess or similar.

Edit the source code to ensure that input is properly verified or
paths to include files are set to fixed values.

PROVIDED AND/OR DISCOVERED BY:
Dariusz 'Officerrr' Kolasinski

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

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://www.secunia.com/secunia_security_advisories/

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

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