CVE-2021-36158 Hardcoded credentials in n/a

Medium 5.9 Published Updated

Attackers can intercept RDP sessions due to hardcoded RSA keys, allowing man-in-the-middle attacks and potential data exposure.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-36158?

CVE-2021-36158 is a medium-severity vulnerability in n/a, published on 5 Jul 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the xrdp package (in branches through 3.14) for Alpine Linux, RDP sessions are vulnerable to man-in-the-middle attacks because pre-generated RSA certificates and private keys are used.

Weakness: CWE-312

Which versions are affected by CVE-2021-36158?

It affects 1 product.

Products include Alpinelinux Aports.

How do I fix CVE-2021-36158?

Apply the vendor's patch.

Is CVE-2021-36158 being exploited?

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

Sources

Also known as ALPINE-CVE-2021-36158, GHSA-9245-rjx8-r879.

Is CVE-2021-36158 in your software?

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

Check your SBOMs for free