PoC Monitor
← All CVEs
CVE-2024-42009published 5 Aug 2024 00:00 UTCData: JSON · API

Roundcube Webmail

RoundCube Webmail Cross-Site Scripting Vulnerability

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.

First public PoC 191 daysafter publication · 11 Feb 2025
Public PoCs54 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.3critical · scored by CISA ADP · CWE-79
CISA KEV 9 Jun 2025308 days after publication

Timeline

Days relative to CVE publication
t=0+60+120+180+240+300CVE published5 Aug 2024 · t = 0First public PoC11 Feb 2025 · t+191dAdded to CISA KEV9 Jun 2025 · t+308d

First public PoC 191 days after publication; added to CISA KEV 308 days after publication. First PoC: 0xbassiouny1337/CVE-2024-42009 (created 11 Feb 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

4 PoCs · 3 suspicious or fake

PoCs 4
RepositoryCreatedStarsAssessment
0xbassiouny1337/CVE-2024-42009 11 Feb 2025 +191 d 4 PoC
Bhanunamikaze/CVE-2024-42009 13 Feb 2025 +193 d 1 PoC
Shubhankargupta691/CVE-2024-42009 14 Sep 2025 +1.1 y 0 Scanner
ZaidArif47/CVE-2024-42009 16 Apr 2026 +1.7 y 1 PoC
Suspicious or fake 3
RepositoryCreatedStarsAssessment
DaniTheHack3r/CVE-2024-42009-PoC 24 May 2025 +293 d 8 Fake
Foxer131/CVE-2024-42008-9-exploit 26 May 2025 +294 d 0 Fake
segunakinsoyinu/CVE-2024-42009-roundcube-xss 17 Jun 2026 +1.9 y 0 Fake

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
nuclei templatenuclei template: Roundcube Webmail - Cross-Site Scripting14 Oct 202514 Nov 2026

PoC characteristics

What to hunt for in your logs · from 4 PoC repos

GET /

Query
_task=login _action=show _user= _task=mail _uid=20 _mbox=INBOX _extwin=1 x= x=1'><body title='bgcolor=foo' name='bar' style='animation-name:progress-bar-stripes' onanimationstart='alert(origin)'>Foo</body>
Key headers
Accept: */* Accept-Language: en Cookie: roundcube_sessid=8bca177c1781f195cefff74839b87e47
Ports
8025, 8080
PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 13_0) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15
Seen in
1 repo: Shubhankargupta691/CVE-2024-42009
Evidence
Shubhankargupta691/CVE-2024-42009/CVE-2024-42009-OOB & Interactsh.yaml:47 Shubhankargupta691/CVE-2024-42009/CVE-2024-42009-OOB & Interactsh.yaml:107 Shubhankargupta691/CVE-2024-42009/CVE-2024-42009.yaml:44 Shubhankargupta691/CVE-2024-42009/CVE-2024-42009.yaml:57 Shubhankargupta691/CVE-2024-42009/CVE-2024-42009.yaml:77 Shubhankargupta691/CVE-2024-42009/CVE-2024-42009.yaml:97

POST /contact

Body markers
name=XSS Bot email=attacker@evil.com message= content=html recipient=THE_ONE_U_WILL_SEND_EMAIL_TO in application/x-www-form-urlencoded
Ports
4444
Seen in
1 repo: 0xbassiouny1337/CVE-2024-42009
Evidence
0xbassiouny1337/CVE-2024-42009/exploit.py:57

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /
(?i)^/\?(?:.*&)?_task=login.*_action=show.*_user=.*_task=mail.*_uid=20.*_mbox=INBOX.*_extwin=1.*x=.*x=1'><body title='bgcolor=foo' name='bar' style='animation-name:progress-bar-stripes' onanimationstart='alert\(origin\)'>Foo</body>
GET /README
(?i)^/README(?:[?#].*)?$
POST /contact
(?i)^/contact(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /
alert http any any -> $HOME_NET [8025,8080] (msg:"GG PoC-Monitor CVE-2024-42009 Roundcube Webmail exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"_task=login"; http.uri; content:"_action=show"; http.uri; content:"_user="; http.uri; content:"_task=mail"; http.uri; content:"_uid=20"; http.uri; content:"_mbox=INBOX"; http.uri; content:"_extwin=1"; http.uri; content:"x="; http.uri; content:"x=1'><body title='bgcolor=foo' name='bar' style='animation-name:progress-bar-stripes' onanimationstart='alert(origin)'>Foo</body>"; http.header; content:"Accept: */*"; nocase; http.header; content:"Accept-Language: en"; nocase; http.header; content:"Cookie: roundcube_sessid=8bca177c1781f195cefff74839b87e47"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2024-42009; classtype:web-application-attack; sid:9220955; rev:1;)
GET /README
alert http any any -> $HOME_NET [8025,8080] (msg:"GG PoC-Monitor CVE-2024-42009 Roundcube Webmail exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/README"; reference:url,poc.griffinguard.io/cve/CVE-2024-42009; classtype:web-application-attack; sid:9890617; rev:1;)
POST /contact
alert http any any -> $HOME_NET [4444] (msg:"GG PoC-Monitor CVE-2024-42009 Roundcube Webmail exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/contact"; http.request_body; content:"name=XSS Bot"; http.request_body; content:"email=attacker@evil.com"; http.request_body; content:"message="; http.request_body; content:"content=html"; http.request_body; content:"recipient=THE_ONE_U_WILL_SEND_EMAIL_TO"; reference:url,poc.griffinguard.io/cve/CVE-2024-42009; classtype:web-application-attack; sid:9440675; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /
title: Roundcube Webmail exploit attempt (CVE-2024-42009)
id: gg-pocmon-cve-2024-42009-9220955
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-42009. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2024-42009
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-query|contains|all:
      - '_task=login'
      - '_action=show'
      - '_user='
      - '_task=mail'
      - '_uid=20'
      - '_mbox=INBOX'
      - '_extwin=1'
      - 'x='
      - 'x=1''><body title=''bgcolor=foo'' name=''bar'' style=''animation-name:progress-bar-stripes'' onanimationstart=''alert(origin)''>Foo</body>'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2024.42009
GET /README
title: Roundcube Webmail exploit attempt (CVE-2024-42009)
id: gg-pocmon-cve-2024-42009-9890617
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-42009. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2024-42009
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/README'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2024.42009
POST /contact
title: Roundcube Webmail exploit attempt (CVE-2024-42009)
id: gg-pocmon-cve-2024-42009-9440675
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-42009. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2024-42009
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/contact'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2024.42009