kcve.ai취약점 정보 · 내 자산 확인

CVE-2024-25641 Cacti RCE vulnerability when importing packages

패키지를 가져올 때 Cacti RCE 취약점

설명

Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, an arbitrary file write vulnerability, exploitable through the "Package Import" feature, allows authenticated users having the "Import Templates" permission to execute arbitrary PHP code on the web server. The vulnerability is located within the `import_package()` function defined into the `/lib/import.php` script. The function blindly trusts the filename and file content provided within the XML data, and writes such files into the Cacti base path (or even outside, since path traversal sequences are not filtered). This can be exploited to write or overwrite arbitrary files on the web server, leading to execution of arbitrary PHP code or other security impacts. Version 1.2.27 contains a patch for this issue.

Cacti는 운영 모니터링 및 오류 관리 프레임워크를 제공합니다. 버전 1.2.27 이전에, "패키지 가져오기" 기능을 통해 악용 가능한 임의의 파일 쓰기 취약점은 웹 서버에서 임의의 PHP 코드를 실행할 수 있는 "가져오기 템플릿" 권한을 가진 인증된 사용자를 허용합니다. 이 취약점은 `/lib/import.php` 스크립트에 정의된 `import_package()` 함수 내에 있습니다. 이 함수는 XML 데이터 내에 제공된 파일 이름과 파일 내용을 맹목적으로 신뢰하며, 이러한 파일을 Cacti 기본 경로(또는 경로 횡단 시퀀스가 필터링되지 않기 때문에 외부)에 기록합니다. 이것은 웹 서버에 임의의 파일을 쓰거나 덮어 쓰기 위해 악용 될 수 있으며, 임의의 PHP 코드 또는 기타 보안 영향의 실행을 유도합니다. 버전 1.2.27에는 이 문제에 대한 패치가 포함되어 있습니다.

영향 받는 제품 제품 1개

  • Cacti

    cacti

    해결 버전 있음

    영향 받는 버전

    • 1.2.27 미만

    해결 버전

    • 1.2.27 이상

참고 자료 4건

‹ 목록

점검 지원 범위 문의

도입 문의