CVE-2025-35939 Craft CMS stores user-provided content in session files
Craft CMS는 사용자가 제공한 콘텐츠를 세션 파일에 저장합니다.
설명
Craft CMS stores arbitrary content provided by unauthenticated users in session files. This content could be accessed and executed, possibly using an independent vulnerability. Craft CMS redirects requests that require authentication to the login page and generates a session file on the server at '/var/lib/php/sessions'. Such session files are named 'sess_[session_value]', where '[session_value]' is provided to the client in a 'Set-Cookie' response header. Craft CMS stores the return URL requested by the client without sanitizing parameters. Consequently, an unauthenticated client can introduce arbitrary values, such as PHP code, to a known local file location on the server. Craft CMS versions 5.7.5 and 4.15.3 have been released to address this issue.
Craft CMS는 인증되지 않은 사용자가 제공한 임의의 콘텐츠를 세션 파일에 저장합니다. 이 콘텐츠는 액세스 및 실행이 가능하며, 독립적인 취약점을 사용할 수 있습니다. Craft CMS는 로그인 페이지로 인증을 요구하는 요청을 리디렉션하고 '/var/lib/php/sessions'에서 서버에서 세션 파일을 생성합니다. 이러한 세션 파일은 'sess_[session_value]'로 명명되며, 여기서 '[session_value]'는 'Set-Cookie' 응답 헤더에서 클라이언트에게 제공됩니다. Craft CMS는 파라미터를 삭제하지 않고 클라이언트가 요청한 반환 URL을 저장합니다. 따라서 인증되지 않은 클라이언트는 PHP 코드와 같은 임의의 값을 서버의 알려진 로컬 파일 위치에 도입할 수 있습니다. 이 문제를 해결하기 위해 Craft CMS 버전 5.7.5 및 4.15.3이 릴리스되었습니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
Craft
CMS
영향 받는 버전
- 5.7.5 미만
- 4.15.3 미만
해결 버전
- 5.7.5 이상
- 5.7.5
- 4.15.3 이상
- 4.15.3
참고 자료 5건
- github.com https://github.com/craftcms/cms/pull/17220 (새 창)
- github.com https://github.com/craftcms/cms/releases/tag/4.15.3 (새 창)
- github.com https://github.com/craftcms/cms/releases/tag/5.7.5 (새 창)
- raw.githubusercontent.com https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2025/va-25-147-01.json (새 창)
- cve.org https://www.cve.org/CVERecord?id=CVE-2025-35939 (새 창)