id: CVE-2024-42009 info: name: "Roundcube - Cross-Site Scripting" author: vedas-arpsyndicate severity: critical description: | A Cross-Site Scripting vulnerability in Roundcube through 1.5.7 and 1.6.x through 1.6.7 allows a remote attacker to steal and send emails of a victim via a crafted e-mail message that abuses a Desanitization issue in message_body() in program/actions/mail/show.php. reference: - https://www.exploit.observer/?keyword=CVE-2024-42009&match=exact - https://subdomain.center/?engine=ammonites&keyword=roundcube&match=exact classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N cvss-score: 9.3 cve-id: CVE-2024-42009 cwe-id: CWE-79 metadata: verified: false tags: cve,cve2024,roundcube,xss,vkev,passive,kev,vuln http: - method: GET path: - "{{BaseURL}}" extractors: - type: regex name: major group: 1 regex: - '"rcversion":(\d)' internal: true - type: regex name: minor group: 1 regex: - '"rcversion":\d\d(\d)' internal: true - type: regex name: patch group: 1 regex: - '"rcversion":\d\d\d(\d+)' internal: true - type: dsl name: version dsl: - major + "." + minor + "." + patch internal: true - type: dsl dsl: - '"Roundcube Version: "+ version' matchers-condition: and matchers: - type: dsl dsl: - compare_versions(version, '<= 1.5.7') - compare_versions(version, '>= 1.6.0', '<= 1.6.7') condition: or - type: word part: body words: - "Roundcube" - type: status status: - 200