Advisories

APSW through 3.54.1.0 SQL Injection via Shell .dump Identifier Quoting

Go back
Severity
medium
Date
Affecting
  • APSW <= 3.54.1.0

CWE
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVSS
6.9
CVSS V4 Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
Credit
Zachariah Mithani (AploSec)
Description
APSW through 3.54.1.0 contains an sql injection vulnerability in the shell's _fmt_sql_identifier function that wraps double-quoted names in square brackets without escaping closing brackets. Attackers can supply a crafted database with a malicious table name that executes SQL when the victim runs .dump and again when the dump is restored.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.