cbcvebase.
CVE-2018-12980
published 2018-07-12

CVE-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
VendorProductVersion rangeFixed in
wago762-3000_firmware< 0202
wago762-3001_firmware< 0202
wago762-3002_firmware< 0202
wago762-3003_firmware< 0202

Detection & IOCsextracted from sources · hover to see the quote

url/wbm/receive_upload.php
url/wbm/configtools.php
url/wbm/login.php
path/var/www/
path/tmp/
filenameany_file.sh
path/var/www/WagoWBM
  • 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.