History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: OSC-684
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Harald Ponce de Leon
Reporter: John Cobb
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
osCommerce Core

Information Disclosure

Created: 06/Sep/08 01:16 AM   Updated: 12/Dec/08 01:33 PM
Component/s: Core Framework
Affects Version/s: 2.2 RC 2
Fix Version/s: 2.2

Environment: Linux, PHP


 Description  « Hide
Manipulation of the 'DOB' Variable on create_account.php can cause information disclosure:

In this example the POST variable 'DOB' has been set to: foobar

POST /oscommerce/create_account.php HTTP/1.0

action=process&gender=m&firstname=johne&lastname=smith&dob=foobar&email_address=email@address.com&company=foobar&street_address=foobar&suburb=foobar&postcode=foobar&city=foobar&state=foobar&country=1&telephone123456789&fax=123456789&newsletter=on&password=foobar&confirmation=foobar

Result:

Warning: checkdate() expects parameter 3 to be long, string given in /var/www/oscommerce/create_account.php on line 80

 All   Comments   Change History      Sort Order:
Harald Ponce de Leon [12/Dec/08 01:33 PM]
Fixed in r1840. Thanks for the report!