The OMGF plugin for WordPress is vulnerable to Missing Authorization (broken access control) on its update_settings() function, which is hooked to admin_init and reachable unauthenticated via /wp-admin/admin-post.php. Through version 5.7.6 the function performs no nonce or capability check, so an unauthenticated attacker can update the plugin's settings. This can be leveraged to store cross-site scripting payloads and, together with the related directory-deletion issue, is tracked as CVE-2023-6600. A nonce and capability check were added in 5.7.7, and the full fix (including the unauthenticated directory deletion) shipped in 5.7.10. This template safely detects the missing authorization by submitting the omgf-update action with no settings, which an unpatched instance acknowledges with a settings-updated redirect without changing any configuration.
id: CVE-2023-6600
info:
name: OMGF <= 5.7.6 - Missing Authorization to Unauthenticated Settings Update
author: DhiyaneshDk
severity: high
description: |
The OMGF plugin for WordPress is vulnerable to Missing Authorization (broken access control) on its update_settings() function, which is hooked to admin_init and reachable unauthenticated via /wp-admin/admin-post.php. Through version 5.7.6 the function performs no nonce or capability check, so an unauthenticated attacker can update the plugin's settings. This can be leveraged to store cross-site scripting payloads and, together with the related directory-deletion issue, is tracked as CVE-2023-6600. A nonce and capability check were added in 5.7.7, and the full fix (including the unauthenticated directory deletion) shipped in 5.7.10. This template safely detects the missing authorization by submitting the omgf-update action with no settings, which an unpatched instance acknowledges with a settings-updated redirect without changing any configuration.
impact: |
Unauthenticated attackers can modify the plugin's settings, which can be used to inject stored cross-site scripting payloads affecting administrators.
remediation: |
Update the OMGF plugin to version 5.7.10 or later.
reference:
- https://wpscan.com/vulnerability/b6e40bce-4769-41ec-9e86-64b5bfd6b171/
- https://www.cert.europa.eu/publications/security-advisories/2024-001/
- https://nvd.nist.gov/vuln/detail/CVE-2023-6600
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
cvss-score: 8.6
cve-id: CVE-2023-6600
epss-score: 0.01154
epss-percentile: 0.68034
cwe-id: CWE-862
cpe: cpe:2.3:a:daan:omgf:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 1
vendor: daan
product: omgf
framework: wordpress
fofa-query: body="/wp-content/plugins/host-webfonts-local/"
publicwww-query: "/wp-content/plugins/host-webfonts-local/"
tags: cve,cve2023,wp,wordpress,wp-plugin,omgf,host-webfonts-local,unauth,missing-auth,daan,vkev
variables:
marker: "{{rand_text_alpha(12)}}"
http:
- raw:
- |
POST /wp-admin/admin-post.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
Referer: {{RootURL}}/{{marker}}
action=omgf-update
matchers-condition: and
matchers:
- type: word
part: header
words:
- "settings-updated=true"
- "{{marker}}"
condition: and
- type: status
status:
- 302
# digest: 4a0a0047304502202ffdc763ab4e622b9e38f3757de83ba7150fa918adab2165ea412fcb207802a1022100f992903dd36e84521dfaf13c6f00e76bb2e5c5dbfd7ecbedb5fc3ca4bfdb2e2e:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.