CVE-2019-11362

app/controllers/frontend/PostController.php in ROCBOSS V2.2.1 has SQL injection via the Post:doReward score paramter, as demonstrated by the /do/reward/3 URI

published April 20, 2019

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

⚠️ A sneaky SQL injection lurks in ROCBOSS V2.2.1 that can turn your well-intentioned reward system into a playground for attackers! 🔍 Think of it like an order at a restaurant where the chef misreads the special request — if they don’t double-check, they might serve something totally different, or worse, get the wrong dish entirely! 🍽️ An attacker can exploit this flaw to manipulate the database, potentially allowing them to access private data or alter scores without any checks. This could lead to unauthorized rewards being granted, making your system vulnerable to abuse and misinformation.

Put simply

Think of it like an order at a restaurant where the chef misreads the special request — if they don’t double-check, they might serve something totally different, or worse, get the wrong dish entirely! 🍽️ This vulnerability resides in the PostController.php where the 'doReward' score parameter fails to properly sanitize input, allowing malicious SQL commands to be executed when a user sends a crafted request via the `/do/reward/3` URI.

What to do

An attacker can exploit this flaw to manipulate the database, potentially allowing them to access private data or alter scores without any checks. This could lead to unauthorized rewards being granted, making your system vulnerable to abuse and misinformation. To safeguard your application, ensure you validate and sanitize all user inputs, especially for SQL queries. Update your application to the latest version or apply security patches if available. Consider implementing prepared statements to mitigate SQL injection risks. You've got this! With a little effort in validation, your system will be more secure than ever! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01554 · 75.0th percentile
Published
2019-04-20T12:33Z
EPSS history
Timeline
  • 20 APR 12:33Z
    app/controllers/frontend/PostController.php in ROCBOSS V2.2.1 has SQL injection via the Post:doReward score paramter, as demonstrated by the /do/reward/3 URI
    cvelistv5