CVE-2022-0362 SQL Injection in star7th/showdoc
Attackers can execute arbitrary SQL commands in ShowDoc, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-0362?
CVE-2022-0362 is a medium-severity SQL injection vulnerability in star7th/showdoc, published on 26 Jan 2022. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
SQL Injection in Packagist showdoc/showdoc prior to 2.10.3.
Weakness: CWE-89
Which versions are affected by CVE-2022-0362?
2 open source packages ship an affected version, including showdoc/showdoc. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
showdoc/showdoc Packagist | All versions | 2.10.3 |
showdoc/showdoc Packagist | All versions | 2.10.3 |
Products include Showdoc Showdoc.
How do I fix CVE-2022-0362?
Upgrade showdoc/showdoc to 2.10.3 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2022-0362 being exploited?
There is no known exploitation of CVE-2022-0362 in the wild and no public exploit code.
Other vulnerabilities in star7th/showdoc
- CVE-2021-41745 Showdoc File Upload Vulnerability
- CVE-2021-36440 Unrestricted File Upload in ShowDoc v2.9.5
- CVE-2022-0942 Stored XSS due to Unrestricted File Upload in star7th/showdoc
- CVE-2022-1034 There is a Unrestricted Upload of File vulnerability in ShowDoc v2.10.3 in star7th/showdoc
- CVE-2022-0945 Stored XSS viva axd and cshtml file upload in star7th/showdoc in star7th/showdoc
Sources
Also known as GHSA-9cq5-xgg4-x477.