cbcvebase.
CVE-2018-5782
published 2018-03-14

CVE-2018-5782: A vulnerability in the conferencing component of Mitel Connect ONSITE, versions R1711-PREM and earlier, and Mitel ST 14.2, release GA28 and earlier, could…

PriorityP276critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
19.71%
97.1th percentile
A vulnerability in the conferencing component of Mitel Connect ONSITE, versions R1711-PREM and earlier, and Mitel ST 14.2, release GA28 and earlier, could allow an unauthenticated attacker to inject PHP code using specially crafted requests to the vsethost.php page. Successful exploit could allow an attacker to execute arbitrary PHP code within the context of the application.

Affected

2 ranges
VendorProductVersion rangeFixed in
mitelconnect_onsite<= r1711-prem
mitelst14.2<= ga28

Detection & IOCsextracted from sources · hover to see the quote

path/scripts/vsethost.php
path/scripts/vmhost.php
path/usr/share/apache2/htdocs/wc2_deploy/scripts/
commandhostId=system&keyCode=base64_decode&meetingType={${gKeyCode}($gSessionDir)}&sessionDir=<base64_cmd>&swfServer={${gHostID}($gMeetingType)}&server=exec
version19.49.5200.0
  • Detect GET requests to /scripts/vsethost.php containing PHP code injection parameters: hostId=system, keyCode=base64_decode, server=exec, and template injection patterns in meetingType/swfServer fields (e.g. {${...}(...)}).
  • Monitor GET requests to /scripts/vmhost.php immediately following requests to /scripts/vsethost.php — the exploit retrieves command output from vmhost.php after injecting via vsethost.php.
  • Use the Google dork to identify exposed vulnerable instances: search for pages containing all of 'Public', 'My Conferences', 'Personal Library', 'My Profile', and version string 19.49.5200.0.
  • The injection is unauthenticated — no session cookie or authentication header is required. Alert on any unauthenticated access to vsethost.php with query parameters including 'server' and 'keyCode'.
  • ·The exploit author notes that system paths may differ across installations and the script may need to be edited. The hardcoded path /usr/share/apache2/htdocs/wc2_deploy/scripts/ was specific to the single device used during development.
  • ·The vulnerability affects Mitel Connect ONSITE R1711-PREM and earlier, and Mitel ST 14.2 GA28 and earlier. The vendor states newest versions are not affected.

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
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.