CVE-2024-31445 SQL Injection vulnerability in automation_get_new_graphs_sql
automation_get_new_graphs_sql의 SQL 주입 취약점
설명
Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, a SQL injection vulnerability in `automation_get_new_graphs_sql` function of `api_automation.php` allows authenticated users to exploit these SQL injection vulnerabilities to perform privilege escalation and remote code execution. In `api_automation.php` line 856, the `get_request_var('filter')` is being concatenated into the SQL statement without any sanitization. In `api_automation.php` line 717, The filter of `'filter'` is `FILTER_DEFAULT`, which means there is no filter for it. Version 1.2.27 contains a patch for the issue.
Cacti는 운영 모니터링 및 오류 관리 프레임워크를 제공합니다. 버전 1.2.27 이전, api_automation.php의 `automation_get_new_graphs_sql` 함수의 SQL 주입 취약점은 인증된 사용자가 이러한 SQL 주입 취약점을 악용하여 권한 에스컬레이션 및 원격 코드 실행을 수행할 수 있도록 합니다. `api_automation.php` 라인 856에서 `get_request_var('filter')`는 어떤 제정신도 없이 SQL 문장에 연결되어 있다. `api_automation.php` 라인 717에서 ``filter''의 필터는 `FILTER_DEFAULT'인데, 이는 필터가 없다는 것을 의미합니다. 버전 1.2.27에는 이 문제에 대한 패치가 포함되어 있습니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
Cacti
cacti
영향 받는 버전
- 1.2.27 미만
해결 버전
- 1.2.27 이상
참고 자료 5건
- github.com https://github.com/Cacti/cacti/blob/501712998589763d411a68d35e3cda98fd9cfd18/lib/api_automation.php#L717 (새 창)
- github.com https://github.com/Cacti/cacti/blob/501712998589763d411a68d35e3cda98fd9cfd18/lib/api_automation.php#L856 (새 창)
- github.com https://github.com/Cacti/cacti/commit/fd93c6e47651958b77c3bbe6a01fff695f81e886 (새 창)
- github.com https://github.com/Cacti/cacti/security/advisories/GHSA-vjph-r677-6pcc (새 창)
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/ (새 창)