🔍 CVE-2026-61701

8.8
CVSS Score
HIGH
2026-09-14
2026-09-30 19:08
✅ 완료

🇰🇷 한글 설명

Laravel MagicLink 2.0.0부터 2.25.1 버전까지, 데이터베이스의 magic_links.action 컬럼에 저장된 직렬화된 객체를 검증 없이 역직렬화하는 취약점이 존재합니다. 공격자가 SQL 인젝션 등을 통해 데이터베이스에 악성 직렬화 객체를 삽입할 경우, 매직 링크 접속 시 임의의 코드가 실행될 수 있습니다.

💡 쉬운 설명

로그인 없이 접속하게 해주는 '매직 링크' 기능이 데이터베이스에 저장된 정보를 검증 없이 읽어들이는 문제입니다. 해커가 데이터베이스에 조작된 정보를 몰래 넣어두면, 사용자가 링크를 클릭하는 순간 해커가 원하는 명령어가 실행될 수 있습니다.

🇺🇸 원문 (English)

Laravel MagicLink creates links for authentication without a password or for accessing private content. From 2.0.0 until 2.25.1, MagicLink stores serialized action objects in the magic_links.action database column and deserializes them through src/MagicLink.php and src/Actions/ResponseAction.php without sufficient integrity protection, while an unsafe legacy unserialize() fallback remains reachable. An attacker who can manipulate database records, such as through a separate SQL injection or compromised administrative access, can insert a malicious serialized object graph containing executable closure behavior; visiting the associated magic link then deserializes the record and can execute arbitrary code in the application process. The affected path is restricted to manipulated action records and does not independently provide database-write access. This issue is fixed in version 2.25.1.

📍 영향받는 시스템

Laravel MagicLink versions 2.0.0 to 2.25.1

⚔️ 공격 벡터

SQL 인젝션 또는 관리자 권한 탈취를 통한 데이터베이스 내 악성 직렬화 객체 삽입 후 매직 링크 접속

🛡️ 대응 방법

Laravel MagicLink를 2.25.1 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 2.25.1 미만인 경우 해당 취약점에 노출된 상태입니다.

Shell / Script
composer show | grep magiclink

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Spring Data REST