Double Free and Use After Free (UAF)

CVE-2024-3187

Summary

This issue tracks 2 Use After Free (UAFs) vulnerabilities and 1 Double Free vulnerability discovered in Goahead versions <= 6.0.0. These issues are caused by JST values not being nulled when they get freed while performing parsing operation over JST templates. This issue occurs when attempting to process malicious JST server-side templates.

Impact

In case the ME_GOAHEAD_JAVASCRIPT compilation flag is enabled and a malicious user is capable of controlling the content of JST templates interpreted at runtime, a remote unauthenticated attacker may attempt to leverage the memory corruptions to either trigger a crash and cause a Denial of Service (DoS) condition over the service or attempt to gain code execution. The latter scenario is extremely context dependent and is not guaranteed to succeed.

Issue Date

October 14, 2024

Affects

GoAhead <= 6.0.0

CVE Name

CVE-2024-3187

CVSS Details

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H

CVSS Score

5.9

Solution

It is recommended to apply fixes introduced in version 6.0.1 of GoAhead and use the latest version available as base for building custom web servers.

Mitigations

Acknowledgements

Diego Zaffaroni of Nozomi Networks

Threat Intelligence

Curated and maintained by Nozomi Networks Labs, the Threat Intelligence™ service provides threat and vulnerability updates to Guardian, making it easy for IT/OT professionals to stay on top of current OT and IoT risks.

Learn more
Threat Intel screenshot
Nozomi Logo circle

“Threat actors love finding new ways to attack critical infrastructure. We love finding new ways to detect their malware before damage occurs.”

Research Projects

TRITON

TRITON is the first known cyberattack that directly interacted with a Safety Instrumented System (SIS). Labs reverse engineered the TriStation suite of software and delivered a report and two free tools for security researchers. This research was presented at Black Hat USA 2018.

GreyEnergy

The Labs team reverse engineered the GreyEnergy malicious document (maldoc) that leads to the installation of the malware (backdoor) on a victim’s network. Project outcomes include a report, multiple blogs and two free tools for security researchers.

IEC 62351

IEC Working Group 15 (WG15) is developing technology standards for secure-by-design power systems. Labs contributes to the standards and has demonstrated how they can be used to identify hard-to-detect cyberattacks. Research from this effort was presented at Black Hat USA 2019.

See all

Take the next step.

Discover how easy it is to identify and respond to cyber threats by automating your IoT and OT asset discovery, inventory, and management.