CVE-2020-19108

SQL Injection vulnerability in Online Book Store v1.0 via the pubid parameter to bookPerPub.php, which could let a remote malicious user execute arbitrary code

published May 5, 2021

CVSS
—
EPSS
2%
Percentile
80.0
In the wild
Unconfirmed
What it is

🚨 A sneaky SQL injection lurks in Online Book Store v1.0! By manipulating the pubid parameter in bookPerPub.php, a crafty attacker could execute arbitrary code and wreak havoc! ⚡ Think of it like a bookstore employee who, instead of checking the order properly, allows customers to dictate what books should be added or removed, completely bypassing the system's safeguards. This oversight lets unauthorized changes slip right through! If exploited, an attacker could run any command they want on the server, potentially gaining access to sensitive data, altering inventory, or even deleting everything! This could be absolutely devastating for both the business and its customers.

Put simply

Think of it like a bookstore employee who, instead of checking the order properly, allows customers to dictate what books should be added or removed, completely bypassing the system's safeguards. This oversight lets unauthorized changes slip right through! This SQL injection vulnerability allows attackers to manipulate SQL queries made through the pubid parameter, giving them the ability to execute arbitrary code on the server and compromise its integrity.

What to do

If exploited, an attacker could run any command they want on the server, potentially gaining access to sensitive data, altering inventory, or even deleting everything! This could be absolutely devastating for both the business and its customers. Upgrade to a secure version of Online Book Store if available, and immediately implement parameterized queries to safeguard against SQL injection. Regularly audit your code for this kind of vulnerability and ensure you're using secure coding practices. You've got this! With a few simple fixes, your bookstore will be safe and sound! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01944 · 80.0th percentile
Published
2021-05-05T21:16Z
EPSS history
Timeline
  • 05 MAY 21:16Z
    SQL Injection vulnerability in Online Book Store v1.0 via the pubid parameter to bookPerPub.php, which could let a remote malicious user execute arbitrary code
    cvelistv5