CVE-2024-12641 Chunghwa Telecom TenderDocTransfer - Reflected Cross-site Scripting to RCE
Attackers can execute arbitrary JavaScript and OS commands via reflected XSS in TenderDocTransfer's local web server APIs due to missing CSRF protection.
- 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-12641?
CVE-2024-12641 is a critical cross-site scripting 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 a Reflected Cross-site scripting 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 specific APIs through phishing to execute arbitrary JavaScript code in the user’s browser. Since the web server set by the application supports Node.Js features, attackers can further leverage this to run OS commands.
Weakness: CWE-79
Which versions are affected by CVE-2024-12641?
It affects 1 product.
Products include Cht Tenderdoctransfer.
How do I fix CVE-2024-12641?
No fix has been published for CVE-2024-12641 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-12641 being exploited?
There is no known exploitation of CVE-2024-12641 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Chunghwa Telecom TenderDocTransfer
Sources
Also known as GHSA-7wc4-v88g-h92f.