EasyGallery 'index.php' Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
BID:28233
Info
EasyGallery 'index.php' Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
| Bugtraq ID: | 28233 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-1346 |
| Remote: | Yes |
| Local: | No |
| Published: | Mar 12 2008 12:00AM |
| Updated: | May 07 2015 05:32PM |
| Credit: | JosS is credited with the discovery of these vulnerabilities. |
| Vulnerable: |
MyioSoft EasyGallery 5.0tr |
| Not Vulnerable: | |
Discussion
EasyGallery 'index.php' Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
EasyGallery is prone to multiple input-validation vulnerabilities, including an SQL-injection issue and two cross-site scripting issues, 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.
These issues affect EasyGallery 5.0tr; other versions may also be affected.
EasyGallery is prone to multiple input-validation vulnerabilities, including an SQL-injection issue and two cross-site scripting issues, 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.
These issues affect EasyGallery 5.0tr; other versions may also be affected.
Exploit / POC
EasyGallery 'index.php' Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
An attacker can exploit these issues via a browser. To exploit a cross-site scripting vulnerability, the attacker must entice a victim to follow a malicious URI.
The following example URIs are available:
http://www.example.com/easygallery/index.php?PageSection=0&page=category&catid=22+and+substring(@@version,1,1)=4
http://www.example.com/easygallery/index.php?PageSection=0&page=category&catid=22+and+substring(@@version,1,1)=5
An attacker can exploit these issues via a browser. To exploit a cross-site scripting vulnerability, the attacker must entice a victim to follow a malicious URI.
The following example URIs are available:
http://www.example.com/easygallery/index.php?PageSection=0&page=category&catid=22+and+substring(@@version,1,1)=4
http://www.example.com/easygallery/index.php?PageSection=0&page=category&catid=22+and+substring(@@version,1,1)=5
Solution / Fix
EasyGallery 'index.php' Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches for these issues. 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 for these issues. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
EasyGallery 'index.php' Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
References:
References: