Description
An issue was discovered in Recon-ng before 4.9.5. Lack of validation in the modules/reporting/csv.py file allows CSV injection. More specifically, when a Twitter user possesses an Excel macro for a username, it will not be properly sanitized when exported to a CSV file. This can result in remote code execution for the attacker.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | recon-ng | 4.9.5-1 | — |
| Debian 13 | recon-ng | 4.9.5-1 | — |
| Debian 12 | recon-ng | 4.9.5-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | recon-ng | No fix yet | — |
| Ubuntu 20.04 LTS | recon-ng | No fix yet | — |
| Ubuntu 18.04 LTS | recon-ng | No fix yet | — |