CVE-2020-26525

Damstra Smart Asset 2020.7 has SQL injection via the API/api/Asset originator parameter

published October 2, 2020

CVSS
—
EPSS
25%
Percentile
98.0
In the wild
Unconfirmed
What it is

⚠️ A sneaky SQL injection can exploit the Damstra Smart Asset API! This vulnerability allows attackers to force connections to third-party DNS servers, creating a potentially massive security nightmare. 🔥 Think of it as a restaurant where the chef accidentally allows diners to place orders that aren’t on the menu — they can just ask for anything, and the kitchen will comply, leading to some pretty unexpected (and unwanted) dishes! An attacker could leverage this SQL injection to manipulate the database and initiate connections to malicious DNS servers. This opens the door for data exfiltration or other nefarious activities that could jeopardize the integrity of your assets. Mind-blowingly simple, yet absolutely devastating!

Put simply

Think of it as a restaurant where the chef accidentally allows diners to place orders that aren’t on the menu — they can just ask for anything, and the kitchen will comply, leading to some pretty unexpected (and unwanted) dishes! This vulnerability occurs via the API at /api/Asset when the originator parameter is manipulated. This allows attackers to exploit SQL queries, enabling them to influence the server's behavior and initiate remote connections.

What to do

An attacker could leverage this SQL injection to manipulate the database and initiate connections to malicious DNS servers. This opens the door for data exfiltration or other nefarious activities that could jeopardize the integrity of your assets. Mind-blowingly simple, yet absolutely devastating! To protect yourself, ensure you patch the Damstra Smart Asset to the latest version. Additionally, implement input validation and prepared statements to secure your API routes against SQL injection attacks. Regular security audits can help catch these sneaky vulnerabilities early! You’ve got this! With these steps, you’re well on your way to fortifying your defenses and keeping your assets secure! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.25499 · 98.0th percentile
Published
2020-10-02T19:47Z
EPSS history
Timeline
  • 02 OCT 19:47Z
    Damstra Smart Asset 2020.7 has SQL injection via the API/api/Asset originator parameter
    cvelistv5