CVE-2017-15970

PHP CityPortal 2.0 allows SQL Injection via the nid parameter to index.php in a page=news action, or the cat parameter

published October 29, 2017

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

⚠️ A clever little SQL injection hides in PHP CityPortal 2.0, sneaking in through the `nid` and `cat` parameters — like a sneaky guest slipping past the bouncer! Think of it like a restaurant where a customer can place an order without being checked. If the staff isn’t attentive, they might end up serving a dish no one actually ordered, allowing the guest to take total control of the kitchen! An attacker could exploit this vulnerability to run arbitrary SQL commands in the database, potentially gaining access to sensitive information, altering data, or even deleting it entirely. The consequences can be severe if they manage to manipulate or harvest critical data!

Put simply

Think of it like a restaurant where a customer can place an order without being checked. If the staff isn’t attentive, they might end up serving a dish no one actually ordered, allowing the guest to take total control of the kitchen! This SQL Injection vulnerability allows attackers to insert crafted SQL queries through the `nid` or `cat` parameters in the `index.php` page, leading to unauthorized database queries or modifications.

What to do

An attacker could exploit this vulnerability to run arbitrary SQL commands in the database, potentially gaining access to sensitive information, altering data, or even deleting it entirely. The consequences can be severe if they manage to manipulate or harvest critical data! To protect against this vulnerability, sanitize all user inputs by using parameterized queries or prepared statements. Additionally, validate and escape any input data before processing. If possible, upgrade to a more secure version of PHP CityPortal. You've got this! Implement these fixes, and you’ll be one step closer to securing your application! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02204 · 82.3th percentile
Published
2017-10-29T06:00Z
EPSS history
Timeline
  • 29 OCT 06:00Z
    PHP CityPortal 2.0 allows SQL Injection via the nid parameter to index.php in a page=news action, or the cat parameter
    cvelistv5