CVE-2024-8522 LearnPress – WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection via 'c_only_fields'
LearnPress – 워드 프레스 LMS 플러그인 <= 4.2.7 - 'c_only_fields'를 통해 인증되지 않은 SQL 주입
설명
LearnPress – WordPress 용 LMS 플러그인 플러그인은 / wp-json / learnpress / v1 / courses REST API 엔드포인트의 'c_only_fields'매개 변수를 통해 SQL Injection에 취약합니다. 4.2.7은 사용자가 제공 한 매개 변수에서 이스케이프가 불충분하고 기존 SQL 쿼리에 대한 준비가 충분하지 않기 때문입니다. 따라서 인증되지 않은 공격자는 데이터베이스에 민감한 정보를 추출하는 데 사용할 수 있는 기존 쿼리에 추가 SQL 쿼리를 추가할 수 있습니다.
원문 보기
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to SQL Injection via the 'c_only_fields' parameter of the /wp-json/learnpress/v1/courses REST API endpoint in all versions up to, and including, 4.2.7 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.
영향 받는 제품 제품 2개
-
thimpress
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses
영향 받는 버전
- 4.2.7 이하
해결 버전
해결된 버전 정보가 없습니다.
-
NVD 기준 해결 버전 있음
thimpress
learnpress
영향 받는 버전
- 4.2.7.1 미만
해결 버전
- 4.2.7.1 이상
참고 자료 4건
- abrahack.com https://abrahack.com/posts/learnpress-sqli/ (새 창)
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/jwt/rest-api/version1/class-lp-rest-courses-v1-controller.php#L441 (새 창)
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3148560/learnpress/tags/4.2.7.1/inc/jwt/rest-api/version1/class-lp-rest-courses-v1-controller.php?old=3138586&old_path=learnpress%2Ftags%2F4.2.7%2Finc%2Fjwt%2Frest-api%2Fversion1%2Fclass-lp-rest-courses-v1-controller.php (새 창)
- wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/e495507d-7eac-4f38-ab6f-b8f0809b2be4?source=cve (새 창)