🔍 CVE-2026-46531

5.5
CVSS Score
MEDIUM
2026-10-23
2026-10-29 18:17
✅ 완료

🇰🇷 한글 설명

Cacti는 오픈소스 성능 및 장애 관리 프레임워크입니다. 1.2.27 이상 1.2.31 미만 버전에서 자동화 트리 규칙 항목 핸들러에 인증된 저장형 2차 SQL 인젝션 취약점이 존재합니다. Automation 권한을 가진 사용자가 임의의 SQL 조각을 저장할 수 있으며, 관리자가 자동화 규칙을 적용할 때 실행되어 결과가 트리 UI에 노출될 수 있습니다. 1.2.31 버전에서 패치되었습니다.

💡 쉬운 설명

권한이 있는 일반 사용자가 특정 설정에 악의적인 데이터베이스 명령을 숨겨 둘 수 있습니다. 관리자가 자동화 규칙을 실행하면 그 명령이 동작해 데이터가 외부로 빠져나갈 수 있습니다.

🇺🇸 원문 (English)

Cacti is an open source performance and fault management framework. From version 1.2.27 to before version 1.2.31, Cacti contains an authenticated stored second-order SQL injection in the automation tree rule item handler. A user holding the Automation realm (default General Administration role) can persist an arbitrary SQL fragment in the automation_tree_rule_items.field column. The fragment is later concatenated directly into a SELECT ... AS source FROM ... clause in lib/api_automation.php :: create_all_header_nodes() and executed when an administrator triggers automation via the standard graphs.php?action=actions&drp_action=8 ("Apply Automation Rules") bulk action. The result of the injected SELECT is written into graph_tree_items.title and rendered in the Cacti tree UI, providing a direct exfiltration channe. This issue has been patched in version 1.2.31.

📍 영향받는 시스템

Cacti 1.2.27 이상 1.2.31 미만 버전

⚔️ 공격 벡터

Automation 권한을 가진 사용자가 트리 규칙 항목에 악성 SQL 조각을 저장한 뒤, 관리자가 'Apply Automation Rules' 작업을 실행하면 결과가 트리 제목을 통해 유출됩니다.

🛡️ 대응 방법

Cacti를 1.2.31 이상 버전으로 업그레이드하고, Automation 권한 부여 대상을 최소화하십시오.

🔧 검증 코드

출력된 버전이 1.2.27 이상 1.2.31 미만이면 취약하며, 1.2.31 이상이면 패치된 상태입니다. 출력이 없으면 Cacti 설치 경로를 직접 확인하십시오.

Shell / Script
grep -rE "define\(.CACTI_VERSION." $(find / -name 'cacti_version*' -o -name 'global.php' 2>/dev/null | grep -i cacti | head -1) 2>/dev/null | head -1

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N