Details
This escapes any double quotes within table names by doubling them (" → ""), which is the standard SQL mechanism for identifier quoting. This prevents breakout from the double-quoted identifier context.
Resources
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- OWASP SQL Injection: https://owasp.org/www-community/attacks/SQL_Injection
- Affected File:
mobsf/MobSF/utils.py, lines 542-566