HTB22804: SQL Injection in Redaxscript

Subject: HTB22804: SQL Injection in Redaxscript

Vulnerability ID: HTB22804
Product: Redaxscript
Vendor: ( ) 
Vulnerable Version: 0.3.2
Vendor Notification: 18 January 2011 
Vulnerability Type: SQL Injection
Status: Fixed by Vendor
Risk level: High 
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing ( 

Vulnerability Details:
The vulnerability exists due to failure in the "/includes/password.php" script to properly sanitize user-supplied input in "id" & "password" variables.
Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.

1. Register new user
2. Reset password for this user with link http://[host]/reminder
3. Now open link from email. Link like http://[host]/password_reset/2/7c2fd13ae101cb21b9ab75692a29fd46
4. Send form and edit post variables with burp suite

POST /password_reset HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: 156


Solution: Upgrade to the most recent version

Copyright © 1995-2020 All rights reserved.