OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SA16566] PaFileDB Administrative User Authentication SQL Injection

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Thu Aug 25 2005 - 08:52:38 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:
PaFileDB Administrative User Authentication SQL Injection

SECUNIA ADVISORY ID:
SA16566

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

CRITICAL:
Moderately critical

IMPACT:
Security Bypass, Manipulation of data

WHERE:
From remote

SOFTWARE:
paFileDB 3.x
http://secunia.com/product/545/

DESCRIPTION:
deluxe89 has discovered a vulnerability in PaFileDB, which can be
exploited by malicious people to conduct SQL injection attacks.

Input passed to the "user" parameter in includes/admin/auth.php using
the cookie is not properly sanitised before being used in a SQL query.
This can be exploited to manipulate SQL queries by injecting arbitrary
SQL code.

Successful exploitation allows bypassing the administrative login
procedure, but requires that "magic_quotes_gpc" is disabled and
$authmethod="cookies" is used.

The vulnerability has been confirmed in version 3.1. Other versions
may also be affected.

SOLUTION:
Disable cookie-based authentication.

PROVIDED AND/OR DISCOVERED BY:
deluxe89

ORIGINAL ADVISORY:
http://www.security-project.org/projects/board/showthread.php?t=947

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

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

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