cbcvebase.
CVE-2012-0242
published 2012-02-21

CVE-2012-0242: Format string vulnerability in Advantech/BroadWin WebAccess before 7.0 allows remote attackers to execute arbitrary code via format string specifiers in a…

PriorityP264critical10CVSS 2.0
AVNACLAuNCCICAC
EXPLOIT
EPSS
7.17%
93.5th percentile
Format string vulnerability in Advantech/BroadWin WebAccess before 7.0 allows remote attackers to execute arbitrary code via format string specifiers in a message string.

Affected

2 ranges
VendorProductVersion rangeFixed in
advantechadvantech_webaccess<= 6.0
advantechadvantech_webaccess

Detection & IOCsextracted from sources · hover to see the quote

urlhttp://aluigi.org/poc/bwocxrun_1.zip
urlhttps://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/17772.zip
filenamebwocxrun.ocx
  • Monitor for exploitation of the OcxSpool function via format string specifiers passed through the Msg string argument — the vulnerable code path calls vsprintf() without a format argument, allowing %n/%s/%x etc. in attacker-controlled input to execute arbitrary code.
  • Monitor for abuse of the WriteTextData and CloseFile functions in bwocxrun.ocx, which allow arbitrary memory corruption via a fully controllable stream identifier passed to fclose() and fwrite().
  • Detect loading or instantiation of the bwocxrun.ocx ActiveX component (version 1.0.0.10 / WebAccess before 7.0) in browser processes, which is the attack surface for remote exploitation.
  • ·The vulnerability is in the ActiveX component bwocxrun.ocx and is exploitable remotely via a browser visiting a malicious page; exploitation requires the client to have the ActiveX control installed (Windows only).
  • ·At time of disclosure no fix was available; detection/blocking of the ActiveX control instantiation is the primary mitigation.
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.