{"id":"UBUNTU-CVE-2018-20752","details":"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.","modified":"2025-10-24T04:47:19Z","published":"2019-02-04T21:29:00Z","upstream":["CVE-2018-20752"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-20752"},{"type":"REPORT","url":"https://bitbucket.org/LaNMaSteR53/recon-ng/issues/285/csv-injection-vulnerability-identified-in"},{"type":"REPORT","url":"https://bitbucket.org/LaNMaSteR53/recon-ng/commits/41e96fd58891439974fb0c920b349f8926c71d4c#chg-modules/reporting/csv.py"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-20752"}],"affected":[{"package":{"name":"recon-ng","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/recon-ng@4.9.2-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.9.2-1","binary_name":"recon-ng"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20752.json"}},{"package":{"name":"recon-ng","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/recon-ng@5.0.1-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.0-1","5.0.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"recon-ng","binary_version":"5.0.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20752.json"}},{"package":{"name":"recon-ng","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/recon-ng@5.1.2-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1.1-3","5.1.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"recon-ng","binary_version":"5.1.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20752.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}