CVE-2018-12980
published 2018-07-12CVE-2018-12980: An issue was discovered on WAGO e!DISPLAY 762-3000 through 762-3003 devices with firmware before FW 02. The vulnerability allows an authenticated user to…
PriorityP271high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EXPLOIT
EPSS
30.14%
98.0th percentile
An issue was discovered on WAGO e!DISPLAY 762-3000 through 762-3003 devices with firmware before FW 02. The vulnerability allows an authenticated user to upload arbitrary files to the file system with the permissions of the web server.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| wago | 762-3000_firmware | < 02 | 02 |
| wago | 762-3001_firmware | < 02 | 02 |
| wago | 762-3002_firmware | < 02 | 02 |
| wago | 762-3003_firmware | < 02 | 02 |
Detection & IOCsextracted from sources · hover to see the quote
- →Monitor for multipart POST requests to /wbm/receive_upload.php where the 'upload_directory' field contains paths outside expected upload directories (e.g., /var/www/, /tmp/), indicating file path manipulation for arbitrary file placement. ↗
- →Detect multipart POST uploads to /wbm/receive_upload.php where 'upload_type' is set to 'font' but the uploaded filename has a non-font extension (e.g., .sh, .php, .html), indicating abuse of the unrestricted file upload endpoint. ↗
- →Alert on POST requests to /wbm/configtools.php or /wbm/receive_upload.php with Content-Type: text/plain containing JSON payloads with script injection patterns (e.g., <script> tags in parameter values), indicating reflected XSS exploitation attempts. ↗
- →Detect web shell access attempts to /index.html on WAGO e!DISPLAY devices following a file upload, as attackers overwrite the root index.html with a web shell reachable without authentication. ↗
- →Monitor for the multipart boundary string '728140389204955163192597293' in HTTP traffic to WAGO e!DISPLAY devices, as this specific boundary value appears in the published proof-of-concept exploit. ↗
- →Detect POST requests to /wbm/configtools.php with JSON body containing 'config_plcselect' as the 'name' parameter, which is used to inject stored XSS payloads into the PLC List. ↗
- ·The unrestricted file upload vulnerability (CVE-2018-12980) requires authentication; however, when chained with the XSS vulnerability (CVE-2018-12981), an unauthenticated attacker can steal a session cookie and then perform the upload, enabling full unauthenticated RCE. ↗
- ·The web server runs as the unprivileged 'www' user, limiting direct writes to the web root — however, /var/www/index.html is owned by 'www', making it writable and a viable web shell target. ↗
- ·Both the 'user' (normal) and 'admin' accounts can exploit the file upload vulnerability; detection should not be scoped only to admin-level sessions. ↗
- ·Public exploits are confirmed available for this vulnerability, lowering the skill bar for exploitation significantly. ↗
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
CISA ICS
WAGO e!DISPLAY Web-Based-Management
cisa_ics·2018-07-17·CVSS 8.8
[HIGH] WAGO e!DISPLAY Web-Based-Management
## Archived Content In an effort to keep CISA.gov current, the archive contains outdated information that may not reflect current policy or programs.
ICS Advisory
##
WAGO e!DISPLAY Web-Based-Management
Last RevisedJuly 17, 2018
Alert CodeICSA-18-198-02
## 1. EXECUTIVE SUMMARY
-
CVSS v3 8.0
- ATTENTION: Exploitable remotely/Low skill level to exploit/Public exploits are available
- Vendor: WAGO
- Equipment: e!DISPLAY Web-Based-Management (WBM)
- Vulnerabilities: Cross-site Scripting, Unrestricted Upload of File with Dangerous Type, and Incorrect Permissions for Critical Resource
## 2. RISK EVALUATION
Successful exploitation of these vulnerabilities could allow an attacker to execute code in the context of the user, execute code within t
GHSA
GHSA-26jc-rvr3-77x3: An issue was discovered on WAGO e!DISPLAY 762-3000 through 762-3003 devices with firmware before FW 02
ghsa_unreviewed·2022-05-13
CVE-2018-12980 [HIGH] CWE-434 GHSA-26jc-rvr3-77x3: An issue was discovered on WAGO e!DISPLAY 762-3000 through 762-3003 devices with firmware before FW 02
An issue was discovered on WAGO e!DISPLAY 762-3000 through 762-3003 devices with firmware before FW 02. The vulnerability allows an authenticated user to upload arbitrary files to the file system with the permissions of the web server.
No detection rules found.
No writeups or analysis indexed.
http://seclists.org/fulldisclosure/2018/Jul/38https://cert.vde.com/en-us/advisories/vde-2018-010https://ics-cert.us-cert.gov/advisories/ICSA-18-198-02https://www.exploit-db.com/exploits/45014/https://www.sec-consult.com/en/blog/advisories/remote-code-execution-via-multiple-attack-vectors-in-wago-edisplay/https://www.wago.com/medias/SA-WBM-2018-004.pdf?context=bWFzdGVyfHJvb3R8MjgyNzYwfGFwcGxpY2F0aW9uL3BkZnxoMWUvaDg4LzkzNjE3NTIxOTUxMDIucGRmfDU1NmJkYjEzNDY0ZGU4OWQ1OTMyMjUwNTlmZTI0MzgwNDQ1MDY1YzU3OWRmZDk1NzYzODAwMDI3ODg1NDJlZjUhttp://seclists.org/fulldisclosure/2018/Jul/38https://cert.vde.com/en-us/advisories/vde-2018-010https://ics-cert.us-cert.gov/advisories/ICSA-18-198-02https://www.exploit-db.com/exploits/45014/https://www.sec-consult.com/en/blog/advisories/remote-code-execution-via-multiple-attack-vectors-in-wago-edisplay/https://www.wago.com/medias/SA-WBM-2018-004.pdf?context=bWFzdGVyfHJvb3R8MjgyNzYwfGFwcGxpY2F0aW9uL3BkZnxoMWUvaDg4LzkzNjE3NTIxOTUxMDIucGRmfDU1NmJkYjEzNDY0ZGU4OWQ1OTMyMjUwNTlmZTI0MzgwNDQ1MDY1YzU3OWRmZDk1NzYzODAwMDI3ODg1NDJlZjU
2018-07-12
Published