roundcube-log-disclosure: Roundcube Log Disclosure

2025-08-01 roundcube PoC Public

Description

Roundcube Log file was disclosed.

PoC

id: roundcube-log-disclosure

info:
  name: Roundcube Log Disclosure
  author: dhiyaneshDk,kazet
  severity: medium
  description: Roundcube Log file was disclosed.
  reference:
    - https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/roundcube-log-disclosure.json
  metadata:
    max-request: 16
  tags: exposure,logs,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/{{roundcube_path}}"

    payloads:
      roundcube_path:
        - roundcube/logs/sendmail
        - roundcube/logs/sendmail.log
        - roundcube/logs/errors.log
        - roundcube/logs/errors
        - webmail/logs/sendmail
        - webmail/logs/sendmail.log
        - webmail/logs/errors.log
        - webmail/logs/errors
        - mail/logs/sendmail
        - mail/logs/sendmail.log
        - mail/logs/errors.log
        - mail/logs/errors
        - logs/sendmail
        - logs/sendmail.log
        - logs/errors.log
        - logs/errors
    max-size: 1000

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "IMAP Error:"
          - "Message for"
          - "DB Error:"
          - "PHP Error:"
          - "PHP Warning:"
        condition: or

      - type: status
        status:
          - 200

    extractors:
      - type: dsl
        dsl:
          - content_length
# digest: 4a0a00473045022037525d105aaadfd43620a0da12bd29546262e9c975978f21f988be7c4958a601022100a037e8a64ee8e09058b8fdcd3b8ca7ca581ed61fb57143fc1dca021834782959:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities