CVE-2024-12642 Chunghwa Telecom TenderDocTransfer - Arbitrary File Write

High 8.1 Published Updated

Attackers can write arbitrary files to any path on the user's system via a path traversal flaw in the local web server APIs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-12642?

CVE-2024-12642 is a high-severity path traversal vulnerability in Chunghwa Telecom TenderDocTransfer, published on 16 Dec 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

TenderDocTransfer from Chunghwa Telecom has an Arbitrary File Write vulnerability. The application sets up a simple local web server and provides APIs for communication with the target website. Due to the lack of CSRF protection for the APIs, unauthenticated remote attackers could use these APIs through phishing. Additionally, one of the APIs contains a Relative Path Traversal vulnerability, allowing attackers to write arbitrary files to any path on the user's system.

Weakness: CWE-352, CWE-23

Which versions are affected by CVE-2024-12642?

It affects 1 product.

Products include Cht Tenderdoctransfer.

How do I fix CVE-2024-12642?

No fix has been published for CVE-2024-12642 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-12642 being exploited?

There is no known exploitation of CVE-2024-12642 in the wild and no public exploit code.

Sources

Also known as GHSA-3jx4-4w9w-g9w4.

Is CVE-2024-12642 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free