PHPNews Auth.PHP SQL Injection Vulnerability

BID:14333

Info

PHPNews Auth.PHP SQL Injection Vulnerability

Bugtraq ID: 14333
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Jul 20 2005 12:00AM
Updated: Jul 20 2005 12:00AM
Credit: [email protected] is credited with the discovery of this vulnerability.
Vulnerable: PHPNews PHPNews 1.2.6
PHPNews PHPNews 1.2.5
PHPNews PHPNews 1.2.4
PHPNews PHPNews 1.2.3
Not Vulnerable:

Discussion

PHPNews Auth.PHP SQL Injection Vulnerability

PHPNews is prone to an SQL injection vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input before using it in SQL queries.

This vulnerability could permit remote attackers to pass malicious input to database queries, resulting in modification of query logic or other attacks.

Exploit / POC

PHPNews Auth.PHP SQL Injection Vulnerability

An example of exploitation is as follows: (please note that magic_quotes_gpc must be set to 0 for this to succeed)

Navigate to the user logon form.

Enter the following string into the Username field:

anything' or '1'='1'/*

followed by any characters in the Password field.

Solution / Fix

PHPNews Auth.PHP SQL Injection Vulnerability

Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

References

PHPNews Auth.PHP SQL Injection Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report