OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SA16490] PHPFreeNews SQL Injection and Cross-Site Scripting

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Thu Aug 18 2005 - 09:51:20 CDT


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

Bist Du interessiert an einem neuen Job in IT-Sicherheit?

Secunia hat zwei freie Stellen als Junior und Senior Spezialist in IT-
Sicherheit:
http://secunia.com/secunia_vacancies/

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

TITLE:
PHPFreeNews SQL Injection and Cross-Site Scripting

SECUNIA ADVISORY ID:
SA16490

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

CRITICAL:
Moderately critical

IMPACT:
Cross Site Scripting, Manipulation of data

WHERE:
From remote

SOFTWARE:
PHPFreeNews 1.x
http://secunia.com/product/5470/

DESCRIPTION:
matrix_killer has discovered some vulnerabilities in PHPFreeNews,
which can be exploited by malicious people to conduct SQL injection
and cross-site scripting vulnerabilities.

1) Input passed to the "Match" and "CatID" parameters in
SearchResults.php isn't properly sanitised before being used in a SQL
query. This can be exploited to manipulate SQL queries by injecting
arbitrary SQL code.

2) Input passed to the "NewsMode" and "Match" parameters in
SearchResults.php and NewsCategoryForm.php isn't properly sanitised
before being returned to users. This can be exploited to execute
arbitrary HTML and script code in a user's browser session in context
of a vulnerable site.

The vulnerabilities have been confirmed in version 1.40. Other
versions may also be affected.

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

PROVIDED AND/OR DISCOVERED BY:
matrix_killer, h4cky0u Security Forums.

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

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

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