CVE-2023-34249 benjjvi/PyBB may send unsanitized request to SQL database
Attackers can execute arbitrary SQL commands via unsanitized requests in PyBB, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-34249?
CVE-2023-34249 is a critical SQL injection vulnerability in benjjvi PyBB, published on 13 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
benjjvi/PyBB is an open source bulletin board. Prior to commit dcaeccd37198ecd3e41ea766d1099354b60d69c2, benjjvi/PyBB is vulnerable to SQL Injection. This vulnerability has been fixed as of commit dcaeccd37198ecd3e41ea766d1099354b60d69c2. As a workaround, a user may be able to update the software manually to avoid this problem by sanitizing user queries to `BulletinDatabaseModule.py`.
Weakness: CWE-89
Which versions are affected by CVE-2023-34249?
It affects 1 product.
Products include Pybb Project Pybb.
How do I fix CVE-2023-34249?
No fix has been published for CVE-2023-34249 yet. Limit exposure of the affected software until one is available.
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-2023-34249 being exploited?
There is no known exploitation of CVE-2023-34249 in the wild and no public exploit code.
Other vulnerabilities in benjjvi PyBB
Sources
Also known as GHSA-5qrx-fgxq-95gg.