CVE-2017-17640

Advanced World Database 2.0.5 has SQL Injection via the city.php country or state parameter, or the state.php country parameter

published December 13, 2017

CVSS
โ€”
EPSS
2%
Percentile
82.4
In the wild
Unconfirmed
What it is

โš ๏ธ A sneaky SQL injection lurks in Advanced World Database 2.0.5! Attackers can manipulate the `country` or `state` parameters in city.php and state.php to access sensitive data. ๐Ÿ” Think of it like a waiter taking your order but misreading it โ€” instead of serving you your meal, they bring back the whole kitchen's recipe book! That's how SQL injection lets attackers retrieve data they shouldn't see. With this vulnerability, an attacker could gain unauthorized access to your database, potentially exposing sensitive information or executing harmful queries. This could lead to a serious data breach, causing reputational damage and financial loss if exploited.

Put simply

Think of it like a waiter taking your order but misreading it โ€” instead of serving you your meal, they bring back the whole kitchen's recipe book! That's how SQL injection lets attackers retrieve data they shouldn't see. This SQL injection vulnerability allows attackers to inject malicious SQL code into the `city.php` and `state.php` scripts via the `country` or `state` parameters, bypassing intended access controls and compromising data integrity.

What to do

With this vulnerability, an attacker could gain unauthorized access to your database, potentially exposing sensitive information or executing harmful queries. This could lead to a serious data breach, causing reputational damage and financial loss if exploited. To protect your application, immediately validate and sanitize user inputs for these parameters. Additionally, consider applying prepared statements in your database queries to strengthen your defenses against SQL injection. You've got this! With these steps, you'll shore up your defenses like a security hero in no time! ๐Ÿ›ก๏ธ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02204 ยท 82.4th percentile
Published
2017-12-13T09:00Z
EPSS history
Timeline
  • 13 DEC 09:00Z
    Advanced World Database 2.0.5 has SQL Injection via the city.php country or state parameter, or the state.php country parameter
    cvelistv5