Atomic Photo Album 'album.php' SQL Injection and Cross Site Scripting Vulnerabilities
BID:31409
Info
Atomic Photo Album 'album.php' SQL Injection and Cross Site Scripting Vulnerabilities
| Bugtraq ID: | 31409 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-4335 |
| Remote: | Yes |
| Local: | No |
| Published: | Sep 25 2008 12:00AM |
| Updated: | May 07 2015 05:23PM |
| Credit: | d3v1l |
| Vulnerable: |
Atomic Photo Album Atomic Photo Album 1.1.0pre4 |
| Not Vulnerable: | |
Discussion
Atomic Photo Album 'album.php' SQL Injection and Cross Site Scripting Vulnerabilities
Atomic Photo Album (APA) is prone to an SQL-injection vulnerability and a cross-site scripting vulnerability 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.
APA 1.1.0pre4 is affected; other versions may also be vulnerable.
Atomic Photo Album (APA) is prone to an SQL-injection vulnerability and a cross-site scripting vulnerability 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.
APA 1.1.0pre4 is affected; other versions may also be vulnerable.
Exploit / POC
Atomic Photo Album 'album.php' 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 URIs and exploit code are available:
http://www.example.com/album.php?apa_album_ID=1 UNION SELECT concat_ws(0x3a,version(),database(),user())/*
http://www.example.com/album.php?apa_album_ID=>'><script>alert(1337)</script>
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 URIs and exploit code are available:
http://www.example.com/album.php?apa_album_ID=1 UNION SELECT concat_ws(0x3a,version(),database(),user())/*
http://www.example.com/album.php?apa_album_ID=>'><script>alert(1337)</script>
Solution / Fix
Atomic Photo Album 'album.php' 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
Atomic Photo Album 'album.php' SQL Injection and Cross Site Scripting Vulnerabilities
References:
References:
- Atomic Photo Album Project Page (SourceForge)