CVE-2018-20752

An issue was discovered in Recon-ng before 4.9.5

published February 4, 2019

CVSS
โ€”
EPSS
3%
Percentile
88.8
In the wild
Unconfirmed
What it is

โš ๏ธ A CSV export might just hand over the keys to your kingdom! Recon-ng before version 4.9.5 has a sneaky CSV injection issue lurking in its reporting module. ๐Ÿ“Š Think of this as a restaurant that serves a dish with a hidden ingredient โ€” you can't see it on the menu, but if you're allergic, it could lead to disaster! In this case, a malicious Twitter username can trigger remote code execution, much like a surprise food allergy reaction at dinner. An attacker can craft a malicious Twitter username that, when exported to a CSV file, executes unwanted commands on the unsuspecting user's system. This could potentially give them full control, opening the door to data theft, system compromise, or worse.

Put simply

Think of this as a restaurant that serves a dish with a hidden ingredient โ€” you can't see it on the menu, but if you're allergic, it could lead to disaster! In this case, a malicious Twitter username can trigger remote code execution, much like a surprise food allergy reaction at dinner. The vulnerability stems from a lack of proper validation in the modules/reporting/csv.py file of Recon-ng. When exporting data to a CSV, untrusted inputs such as a specially crafted Twitter username can execute arbitrary code when opened in Excel.

What to do

An attacker can craft a malicious Twitter username that, when exported to a CSV file, executes unwanted commands on the unsuspecting user's system. This could potentially give them full control, opening the door to data theft, system compromise, or worse. Upgrade your Recon-ng version to 4.9.5 or later to close this vulnerability. Additionally, ensure that you sanitize any user inputs before exporting them to prevent similar issues. Regularly audit your CSV exports for safety! You've got this! Follow these steps, and you'll have your security defenses fortified in no time! ๐Ÿ›ก๏ธ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.03427 ยท 88.8th percentile
Published
2019-02-04T21:00Z
EPSS history
Timeline
  • 04 FEB 21:00Z
    An issue was discovered in Recon-ng before 4.9.5
    cvelistv5