Daily-It

Java·백엔드 운영 경험으로 AI·개발·자동화와 일상 IT의 실제 판단을 기록하는 기술 블로그입니다.

아파치 쉬로 보안 공지 8건, 내 서버 해당 여부와 버전 확인 순서

아파치 쉬로(Apache Shiro)의 보안 공지 8건은 심각도 숫자보다 사용 모듈과 설정을 먼저 확인해야 하는 공지다. 자바 서비스의 로그인과 권한 검사를 맡는 라이브러리인 만큼, 서버 운영자는 쉬로를 쓰는지부터 확인하고 설치 버전과 아래 조건을 대조하면 된다. oss-security에 올라온 이번 묶음의 첫 메일은 한국 시각 2026년 11월 14일 오전 8시 28분 57초에 공개됐다.[1][2]

공식 심각도는 낮음 4건·중간 3건·치명적 1건이다. 치명적 항목도 LDAP 인증 캐시를 켠 경우에만 해당하며, 공식 기본값은 꺼짐이다. 수정 버전은 두 갈래다. 2건은 3.0.1 이상에서 수정됐고, 나머지 6건까지 함께 다루려면 3.0.2 이상이 필요하다.[1]

닫힌 노트북과 무표식 카드 및 공책이 놓인 점검용 책상
개념 일러스트(daily-it.com 자체 제작)

내 서버에서 쉬로를 쓰는지 어떻게 확인하나?

프로젝트에 적힌 의존성뿐 아니라 실제 배포에 쓰인 의존성 트리를 확인하는 순서가 좋다. 직접 추가하지 않았어도 다른 라이브러리를 통해 포함될 수 있기 때문이다. 아래는 이 글이 제안하는 일반 점검 순서이며, 특정 서비스가 취약하다는 진단은 아니다.

  • 프로젝트의 pom.xml 또는 Gradle 설정에서 org.apache.shiro를 찾는다.
  • 의존성 트리에서 쉬로가 간접적으로 들어오는지와 최종 선택된 버전을 확인한다.
  • shiro-core·shiro-web·shiro-spring뿐 아니라 shiro-jakarta-ee·shiro-guice·shiro-aspectj·shiro-cdi도 적어 둔다.
  • 여러 서비스나 배포본을 운영한다면 각각 확인한다. 개발용 설정만 보고 운영 배포본까지 점검 완료로 처리하지 않는다.

Maven 프로젝트에서는 다음처럼 쉬로 의존성만 걸러 볼 수 있다. Gradle 예시는 일반적인 자바 프로젝트의 실행 시 의존성을 확인하는 명령이다. 프로젝트에 해당 구성이 없다면 실제 사용하는 구성 이름으로 확인해야 한다.

mvn dependency:tree \
  -Dincludes=org.apache.shiro:*

./gradlew dependencies \
  --configuration runtimeClasspath

목록에서 쉬로가 보이지 않아도 배포 파일에 별도로 포함했는지까지 확인해야 한다. 실제 배포본에도 쉬로가 없다면 이 라이브러리의 이번 공지 대상은 아니다. 반대로 이름만 찾았다고 모든 항목에 해당하는 것도 아니다. 버전과 기능 사용 여부를 함께 확인해야 한다.

공식 공지 8건은 어떤 조건에서 해당하나?

다음 표는 공식 보안 보고의 심각도·영향 버전·조건·수정 버전을 정리한 것이다. ‘3.0.1까지 모든 버전’처럼 넓은 범위가 적혀 있어도, 같은 칸의 사용 조건이 맞는지 따로 확인해야 한다. 모듈별 패키지 범위는 각 공개 메일에도 나와 있다.[1][2][3][4][5][6][7][8][9]

CVE공식 심각도영향 버전과 해당 조건수정 버전
CVE-2026-114737낮음3.0.1만. 앱이 ShiroFilterFactoryBean을 직접 만들고, 대소문자를 구별하지 않는 파일시스템에서 정적 파일을 제공할 때. Shiro Spring (Boot) Starter가 만든 빈은 해당 없음.3.0.2 이상
CVE-2026-129320낮음3.0.1까지 모든 버전. shiro-web의 Jakarta Pages 또는 shiro-jakarta-ee의 Jakarta Faces에서 principal 태그를 사용할 때. 신뢰할 수 없는 주체 값이 출력되면 스크립트 삽입으로 이어질 수 있음.3.0.2 이상
CVE-2026-88019중간2.0.0-alpha부터 3.0.1까지. shiro-jakarta-ee에서 폼 저장 기능이 켜져 있을 때(기본 켜짐). 로그인 뒤 폼 재전송 중 쿠키의 Secure·SameSite 속성이 사라지거나 폼과 쿠키가 신뢰할 수 없는 호스트로 갈 수 있음.3.0.2 이상
CVE-2026-74763중간3.0.1까지 모든 버전. 인터페이스의 권한 애너테이션은 shiro-guice·shiro-aspectj·shiro-cdi·shiro-jakarta-ee에서 적용되지 않았고, 클래스·상위 클래스의 것은 shiro-guice·shiro-aspectj에서 항상 적용되지는 않았음.3.0.2 이상
CVE-2026-74762중간3.0.0까지 모든 버전. RememberMe가 켜져 있을 때. 쿠키로 주체를 복원하며 기존 세션을 폐기하거나 새 세션 ID를 만들지 않았고, URL 재작성이 꺼져 있어도 URL의 세션 ID를 받아들였음.3.0.1 이상
CVE-2026-129347낮음3.0.1까지 모든 버전. 저장된 자격 증명이 비어 있는 계정이 있을 때. DefaultPasswordService와 SimpleCredentialsMatcher가 빈 저장값과 빈 제출 비밀번호를 일치로 볼 수 있음.3.0.2 이상
CVE-2026-129348낮음3.0.1까지 모든 버전. PropertiesRealm이 파일에서 속성을 읽고 주기적으로 다시 읽을 때(주기적 읽기는 기본 동작). 삭제한 사용자나 축소한 권한이 그대로 남을 수 있음.3.0.2 이상
CVE-2026-129349치명적3.0.0까지 모든 버전. DefaultLdapRealm 또는 JndiLdapRealm에서 authenticationCachingEnabled=true일 때만. 기본값은 꺼짐. 한 번 성공한 사용자의 후속 인증에서 LDAP bind를 건너뛰고 기본 AllowAllCredentialsMatcher가 어떤 비밀번호든 받아들일 수 있음.3.0.1 이상

예를 들어 권한을 제한하는 @RequiresRoles나 @RequiresPermissions를 선언했다는 사실만으로 CVE-2026-74763 점검을 끝낼 수 없다. 어느 모듈을 쓰고, 인터페이스·클래스·실제 구현 메서드 중 어디에 선언했는지까지 확인해야 한다. 공식은 보호할 구현 메서드에 직접 선언하는 방법도 대안으로 안내한다.[1][5]

Apache Shiro 공식 보안 보고 페이지의 해당 CVE 보안 공지 8건 목록
출처: Apache Shiro 보안 보고 페이지(https://shiro.apache.org/security-reports.html) 화면 캡처, © 2008–2026 The Apache Software Foundation, Apache License 2.0. 보안 공지 목록 상단 8건 영역만 잘라냄(내용·배율 변경 없음). Apache 및 Apache Shiro는 The Apache Software Foundation의 상표이며, 이 글에 대한 ASF의 후원·승인을 뜻하지 않습니다. Apache License 2.0 · Apache Shiro · The Apache Software Foundation
Apache License 2.0 영어 전문
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

치명적 항목과 수동 필터 조건은 왜 따로 봐야 하나?

CVE-2026-129349는 LDAP를 쓴다는 이유만으로 해당하지 않는다. DefaultLdapRealm 또는 JndiLdapRealm을 쓰면서 authenticationCachingEnabled를 true로 켠 환경인지가 판단 조건이다. 공식은 인증 캐시가 기본으로 꺼져 있다고 명시한다. 인증 정보 캐시와 다른 종류의 캐시를 혼동하지 않는 것이 중요하다.[1][9]

공식 설명에 따르면 이 조건에서는 사용자가 한 번 로그인에 성공한 뒤, 캐시된 인증이 LDAP의 비밀번호 확인 절차를 건너뛴다. 여기에 기본으로 설치된 AllowAllCredentialsMatcher가 결합돼 문제가 생긴다. 공식 대안은 LDAP 영역의 인증 캐시를 끄거나, 캐시된 인증 정보를 실제로 검사하는 자격 증명 비교기를 설정하는 것이다. 비교기 예시로 SimpleCredentialsMatcher를 들고 있다.[1][9]

CVE-2026-114737도 범위를 좁혀 읽어야 한다. 대상은 3.0.1에서 앱이 ShiroFilterFactoryBean을 직접 생성하고, 정적 파일을 대소문자를 가리지 않는 파일시스템에서 제공하는 환경이다. Spring Boot를 쓴다는 이유만으로 제외하거나 포함할 수는 없다. Shiro Spring (Boot) Starter가 빈을 생성하는 앱은 해당하지 않는다는 공식 예외를 실제 생성 방식과 대조해야 한다.[1][2]

3.0.1과 3.0.2 중 무엇을 기준으로 올리나?

이 글에서 묶은 8건을 함께 다루는 기준은 3.0.2 이상이다. 다만 각 공지의 최초 수정 버전까지 모두 3.0.2라고 바꾸어 적으면 정확하지 않다. RememberMe 세션 문제인 CVE-2026-74762와 LDAP 인증 캐시 문제인 CVE-2026-129349는 3.0.1 이상이 공식 수정 버전이다. 나머지 6건은 3.0.2 이상으로 안내된다.[1]

따라서 이미 3.0.1로 올린 서비스도 점검을 끝내서는 안 된다. 나머지 6건의 조건에 해당하는지 확인하고 3.0.2 이상으로 갱신할 계획을 잡아야 한다. 그렇다고 3.0.1 사용 서비스가 6건 모두의 영향을 받는다는 뜻도 아니다. 표의 조건을 대조한 기록과 갱신 계획을 구분해 남기는 편이 낫다.

바로 갱신하기 어렵다면 공지별 대안을 검토할 수 있다. 수동 필터는 setCaseInsensitive(true), principal 태그는 입력값 검증, 빈 자격 증명은 저장 방지와 빈 비밀번호 거절이 공식에 제시돼 있다. PropertiesRealm은 사용자 삭제나 권한 축소 뒤 애플리케이션을 재시작하는 대안이 있다. 대안 하나를 적용했다고 다른 공지까지 해결됐다고 판단하지 않아야 한다.[1][2][3][7][8]

점검 완료 기록에는 무엇을 남기나?

다음 점검표는 공식 공지의 조건을 실제 배포와 연결하기 위한 운영 제안이다. 취약점 재현이 아니라 의존성과 설정 확인, 정상 기능 확인에 초점을 맞춘다.

  • 사용 여부: 서비스별 쉬로 모듈과 직접·간접 의존성을 확인했는가?
  • 배포 버전: 설정 파일의 희망 버전이 아니라 실제 배포된 라이브러리 버전을 적었는가?
  • 조건 대조: LDAP 인증 캐시, RememberMe, 필터 생성 방식, principal 태그, 폼 저장, 권한 애너테이션 위치, 빈 자격 증명, PropertiesRealm 파일 읽기를 확인했는가?
  • 조치 구분: 갱신 완료와 임시 대안 적용, 미확인을 구분하고 담당자와 확인 시각을 남겼는가?
  • 갱신 후 확인: 의존성 트리를 다시 보고, 일반 로그인·로그아웃과 역할별 접근 제한이 정상인지 검증했는가?
창빛 아래 닫힌 노트북과 케이블이 놓인 작업 책상
개념 일러스트(daily-it.com 자체 제작)

지금 필요한 판단은 ‘쉬로를 쓰면 모두 위험하다’가 아니라 ‘어느 배포본이 어떤 조건에 해당하며 무엇을 갱신해야 하는가’다. 8건의 수정 기준은 3.0.2 이상으로 잡되, 실제 영향과 조치 상태는 서비스별로 나눠 관리하면 된다. 이 글은 공지 8건의 안내이며, 해당 버전이 모든 보안 문제를 해결한다는 보장은 아니다.


자료 확인의 한계: 2026년 11월 15일 14:02:42 KST에 Apache Shiro 공식 보안 보고와 oss-security 공개 메일 8건의 원문을 다시 읽고 대조했다. 공개일은 한국 시각 기준이며 첫 메일의 UTC 표기는 11월 13일이다. 이 자료만으로 실제 악용 여부나 피해 규모를 판단하지 않으며, 개별 서버의 설치·설정을 직접 점검한 것은 아니다. 확인 시각 이후의 추가 공지는 별도로 확인해야 한다.