CVE-2022-42899

HIGH

Bentley MicroStation < 10.17.01.58 and View < 10.17.01.19 - Out-of-bounds Read/Stack Overflow via SKP Files

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2022-42899. PoCs published by iamsanjay.

AI-analyzed exploit summary This repository contains a working PoC for CVE-2022-42899, demonstrating RCE via Apache Commons Text's StringSubstitutor by injecting a malicious script expression. The exploit leverages the 'script' prefix to execute arbitrary JavaScript code, leading to command execution.

Description

Bentley MicroStation and MicroStation-based applications may be affected by out-of-bounds read and stack overflow issues when opening crafted SKP files. Exploiting these issues could lead to information disclosure and code execution. The fixed versions are 10.17.01.58* for MicroStation and 10.17.01.19* for Bentley View.

Exploits (1)

nomisec WORKING POC 3 stars
by iamsanjay · poc
https://github.com/iamsanjay/CVE-2022-42899

This repository contains a working PoC for CVE-2022-42899, demonstrating RCE via Apache Commons Text's StringSubstitutor by injecting a malicious script expression. The exploit leverages the 'script' prefix to execute arbitrary JavaScript code, leading to command execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Apache Commons Text 1.5 to 1.9
No auth needed
Prerequisites: Target application using vulnerable Apache Commons Text version · Ability to inject malicious input into StringSubstitutor
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (1)

Core 1

Scores

CVSS v3 7.8
EPSS 0.0065
EPSS Percentile 46.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-125
Status published
Products (2)
bentley/microstation < 10.17.01.58
bentley/view < 10.17.01.19
Published Oct 13, 2022
Tracked Since Feb 18, 2026