CVE-2023-33965 Brook's tproxy server is vulnerable to a drive-by command injection.

Critical 9.7 Published Updated

An attacker can execute arbitrary commands on the local tproxy service by tricking a victim into visiting a malicious web page.

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
Available

What is CVE-2023-33965?

CVE-2023-33965 is a critical command injection vulnerability in txthinking brook, published on 1 Jun 2023. 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

Brook is a cross-platform programmable network tool. The `tproxy` server is vulnerable to a drive-by command injection. An attacker may fool a victim into visiting a malicious web page which will trigger requests to the local `tproxy` service leading to remote code execution. A patch is available in version 20230606.

Weakness: CWE-78

Which versions are affected by CVE-2023-33965?

2 open source packages ship an affected version, including github.com/txthinking/brook. It affects 1 product.

PackageAffectedFixed in
github.com/txthinking/brook GoAll versions20230606
github.com/txthinking/brook GoAll versions20230606

Products include Txthinking Brook.

How do I fix CVE-2023-33965?

Upgrade github.com/txthinking/brook to 20230606 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-33965 being exploited?

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

Sources

Also known as GHSA-vfrj-fv6p-3cpf.

Is CVE-2023-33965 in your software?

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

Check your SBOMs for free