PastelCMS Local File Include and SQL Injection Vulnerabilities
BID:34635
Info
PastelCMS Local File Include and SQL Injection Vulnerabilities
| Bugtraq ID: | 34635 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 21 2009 12:00AM |
| Updated: | Apr 23 2009 04:36PM |
| Credit: | SirGod |
| Vulnerable: |
PastelCMS PastelCMS 0.8 |
| Not Vulnerable: | |
Discussion
PastelCMS Local File Include and SQL Injection Vulnerabilities
PastelCMS is prone to a local file-include vulnerability and an SQL-injection vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit the local file-include vulnerability using directory-traversal strings to view or execute local files within the context of the webserver process.
The attacker can exploit the SQL-injection vulnerability to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
PastelCMS 0.8.0 is vulnerable; other versions may also be affected.
PastelCMS is prone to a local file-include vulnerability and an SQL-injection vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit the local file-include vulnerability using directory-traversal strings to view or execute local files within the context of the webserver process.
The attacker can exploit the SQL-injection vulnerability to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
PastelCMS 0.8.0 is vulnerable; other versions may also be affected.
Exploit / POC
PastelCMS Local File Include and SQL Injection Vulnerabilities
Attackers can exploit these issues via a browser.
The following example URI is available for the local file-include issue:
http://www.example.com/[path]/?set_lng=../../../../../../BOOTSECT.BAK%00
The following example data is available for the SQL-injection issue:
Username : [REAL ADMIN USERNAME HERE] ' or ' 1=1
Password : anything
Attackers can exploit these issues via a browser.
The following example URI is available for the local file-include issue:
http://www.example.com/[path]/?set_lng=../../../../../../BOOTSECT.BAK%00
The following example data is available for the SQL-injection issue:
Username : [REAL ADMIN USERNAME HERE] ' or ' 1=1
Password : anything
Solution / Fix
PastelCMS Local File Include and SQL Injection 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
PastelCMS Local File Include and SQL Injection Vulnerabilities
References:
References:
- PastelCMS Homepage (PastelCMS)