CVE-2020-36245 GramAddict bot uses dependency with reverse tcp backdoor
Remote attackers on the same network can execute arbitrary code via the exposed UIAutomator2 service due to missing authentication.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-36245?
CVE-2020-36245 is a high-severity missing authorization vulnerability in n/a, published on 17 Feb 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
GramAddict through 1.2.3 allows remote attackers to execute arbitrary code because of use of UIAutomator2 and ATX-Agent. The attacker must be able to reach TCP port 7912, e.g., by being on the same Wi-Fi network.
Weakness: CWE-306
Which versions are affected by CVE-2020-36245?
3 open source packages ship an affected version, including gramaddict and GramAddict. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gramaddict PyPI | All versions | 1.2.4 |
gramaddict PyPI | All versions | 1.2.5 |
GramAddict PyPI | All versions | 1.2.5 |
Products include Gramaddict Gramaddict.
How do I fix CVE-2020-36245?
Upgrade gramaddict to a fixed version for your release line: 1.2.4 or 1.2.5.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2020-36245 being exploited?
There is no known exploitation of CVE-2020-36245 in the wild and no public exploit code.
Sources
Also known as GHSA-q5h6-49gg-2wfg, PYSEC-2021-65.