aflog Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
BID:27398
Info
aflog Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
| Bugtraq ID: | 27398 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-0397 |
| Remote: | Yes |
| Local: | No |
| Published: | Jan 22 2008 12:00AM |
| Updated: | May 07 2015 05:33PM |
| Credit: | shinmai is credited with the discovery of these vulnerabilities. |
| Vulnerable: |
aflog.org aflog 1.01 |
| Not Vulnerable: | |
Discussion
aflog Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
The 'aflog' program is prone to multiple input-validation vulnerabilities, including SQL-injection issues and a cross-site scripting issue, 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 aflog 1.01; other versions may also be affected.
The 'aflog' program is prone to multiple input-validation vulnerabilities, including SQL-injection issues and a cross-site scripting issue, 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 aflog 1.01; other versions may also be affected.
Exploit / POC
aflog 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 URI is available:
http://www.example.com/aflog/comments.php?id='+UNION+SELECT+666,null,concat('username:',username,',password:',password),1,null,1+FROM+members+ORDER+BY+id+DESC+LIMIT+1/*
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 URI is available:
http://www.example.com/aflog/comments.php?id='+UNION+SELECT+666,null,concat('username:',username,',password:',password),1,null,1+FROM+members+ORDER+BY+id+DESC+LIMIT+1/*
Solution / Fix
aflog Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
Solution:
The vendor has advised that these issues will be fixed in the next release.
Solution:
The vendor has advised that these issues will be fixed in the next release.
References
aflog Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
References:
References:
- aflog Homepage (aflog.org)