CVE-2017-15579

In PHPSUGAR PHP Melody before 2.7.3, SQL Injection exists via an aa_pages_per_page cookie in a playlist action to watch.php

published October 18, 2017

CVSS
—
EPSS
1%
Percentile
73.8
In the wild
Unconfirmed
What it is

⚠️ A sneaky SQL injection lurks in PHPSUGAR PHP Melody, where a cookie can turn into a doorway for attackers! Think of the vulnerability like a restaurant that trusts any diner’s order without verifying the menu — one crafty request can lead to a feast of data being served up to the wrong guests! An attacker could manipulate the `aa_pages_per_page` cookie to execute malicious queries against your database, potentially exposing sensitive user data or altering your playlists. While it’s not an immediate catastrophe, the risks could escalate if exploited further, leading to unwanted surprises!

Put simply

Think of the vulnerability like a restaurant that trusts any diner’s order without verifying the menu — one crafty request can lead to a feast of data being served up to the wrong guests! This vulnerability allows SQL Injection via the `aa_pages_per_page` cookie in the `watch.php` action, letting attackers inject malicious SQL commands without proper validation.

What to do

An attacker could manipulate the `aa_pages_per_page` cookie to execute malicious queries against your database, potentially exposing sensitive user data or altering your playlists. While it’s not an immediate catastrophe, the risks could escalate if exploited further, leading to unwanted surprises! Upgrade to PHPSUGAR PHP Melody version 2.7.3 or later to patch this vulnerability. Additionally, validate and sanitize all user inputs, including cookies, to prevent SQL injection attacks. Implement parameterized queries to further bolster your defenses. You've got this! Stay ahead of the curve, and with these steps, you'll keep your data safe and sound! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01485 · 73.8th percentile
Published
2017-10-18T02:00Z
EPSS history
Timeline
  • 18 OCT 02:00Z
    In PHPSUGAR PHP Melody before 2.7.3, SQL Injection exists via an aa_pages_per_page cookie in a playlist action to watch.php
    cvelistv5