🔍 CVE-2026-46490

8.8
CVSS Score
HIGH
2026-06-08
2026-07-23 08:10
✅ 완료

🇰🇷 한글 설명

samlify 2.13.0 이전 버전은 SAML 속성 값의 XML 이스케이프 처리 누락으로 인해 XML 인젝션 취약점이 존재합니다. 공격자는 서명된 어설션 내에 속성을 주입하여 권한 상승을 유발할 수 있습니다.

💡 쉬운 설명

인증 시스템의 데이터 처리 과정에서 안전장치가 빠져 있어 해커가 위조된 권한 정보를 끼워 넣을 수 있는 문제입니다. 이를 통해 사용자는 본래 권한보다 높은 접근 권한을 탈취할 수 있습니다.

🇺🇸 원문 (English)

samlify is a Node.js library for SAML single sign-on. Prior to version 2.13.0, samlify’s template substitution only escapes attribute contexts. Values inserted into element text (e.g., <saml:AttributeValue>) are not escaped. A normal user can inject XML markup into an attribute value (e.g., email, name) and add new <saml:Attribute> elements inside the signed assertion. The IdP then signs the tampered assertion and the SP accepts the injected attributes as trusted. This allows privilege escalation when attributes are used for authorization (roles/groups). This issue has been patched in version 2.13.0.

📍 영향받는 시스템

samlify Node.js library version < 2.13.0

⚔️ 공격 벡터

사용자 입력값(XML 인젝션)을 통해 서명된 SAML 어설션의 속성을 변조하여 권한 상승

🛡️ 대응 방법

samlify 라이브러리를 버전 2.13.0 이상으로 즉시 업그레이드하십시오.

🔧 검증 코드

출력된 버전 번호가 2.13.0 미만인 경우 취약한 것으로 판단합니다.

Shell / Script
npm list samlify 2>/dev/null | grep -E 'samlify@'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Node.js