misc fixes / update

patch-1
sandeep 2023-06-20 15:53:31 +05:30
parent be44554c36
commit 8d1c606a12
1 changed files with 24 additions and 14 deletions

View File

@ -2,7 +2,7 @@ id: roundcube-log-disclosure
info: info:
name: Roundcube Log Disclosure name: Roundcube Log Disclosure
author: dhiyaneshDk author: dhiyaneshDk,kazet
severity: medium severity: medium
reference: reference:
- https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/roundcube-log-disclosure.json - https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/roundcube-log-disclosure.json
@ -13,22 +13,28 @@ info:
http: http:
- method: GET - method: GET
path: path:
- "{{BaseURL}}/roundcube/logs/sendmail" - "{{BaseURL}}/{{roundcube_path}}"
- "{{BaseURL}}/roundcube/logs/errors.log"
- "{{BaseURL}}/roundcube/logs/errors"
- "{{BaseURL}}/webmail/logs/sendmail"
- "{{BaseURL}}/webmail/logs/errors.log"
- "{{BaseURL}}/webmail/logs/errors"
- "{{BaseURL}}/mail/logs/sendmail"
- "{{BaseURL}}/mail/logs/errors.log"
- "{{BaseURL}}/mail/logs/errors"
- "{{BaseURL}}/logs/sendmail"
- "{{BaseURL}}/logs/errors.log"
- "{{BaseURL}}/logs/errors"
payloads:
roundcube_path:
- roundcube/logs/sendmail
- roundcube/logs/errors.log
- roundcube/logs/errors
- webmail/logs/sendmail
- webmail/logs/errors.log
- webmail/logs/errors
- mail/logs/sendmail
- mail/logs/errors.log
- mail/logs/errors
- logs/sendmail
- logs/errors.log
- logs/errors
max-size: 1000
matchers-condition: and matchers-condition: and
matchers: matchers:
- type: word - type: word
part: body
words: words:
- "IMAP Error:" - "IMAP Error:"
- "Message for" - "Message for"
@ -37,8 +43,12 @@ http:
- "PHP Error:" - "PHP Error:"
- "PHP Warning:" - "PHP Warning:"
condition: or condition: or
part: body
- type: status - type: status
status: status:
- 200 - 200
extractors:
- type: dsl
dsl:
- content_length