🇰🇷 한글 설명
Keyfactor SignServer 7.6.0 미만 버전에서 관리자 사용자가 특정 속성의 경로를 제한 없이 설정할 수 있는 취약점이 발견되었습니다. 공격자가 특정 파일 경로를 설정하여 에러 메시지를 유도함으로써, 서버 내 특정 파일의 존재 여부를 확인하는 정보 노출 공격이 가능합니다.
💡 쉬운 설명
관리자가 설정할 수 있는 파일 경로에 제한이 없어, 특정 파일이 서버에 있는지 없는지를 알아낼 수 있는 문제입니다. 이를 통해 공격자는 서버 내부의 민감한 파일 정보를 간접적으로 파악할 수 있습니다.
🇺🇸 원문 (English)
An issue was discovered in Keyfactor SignServer before 7.6.0. A number of properties were identified to not have any restrictions to what path they can be set to by an admin user. Setting these properties to specific file paths can reveal information to the client side. Three specific properties were identified: The property ATTRIBUTESFILE in PKCS11CryotoToken can be set to a readable but not an accepted (i.e., recognized with attributes) file. In this case an error is thrown, confirming the existence of the file. The property KEYSTOREPATH in KeyStoreCryptoToken can be set to a non-existing file that will return an error confirming to the client side that the file does not exist. The property TRUSTSTOREPATH in RenewalWorker can be set to any path (without any restrictions) by an admin user. In the case that the provided path points to an existing file, readable by the user running the application server, but is not a recognized PEM format, it returns this as an error to the client side, confirming the existences of the file.
📍 영향받는 시스템
Keyfactor SignServer versions before 7.6.0
⚔️ 공격 벡터
관리자 권한을 이용해 특정 속성(ATTRIBUTESFILE, KEYSTOREPATH, TRUSTSTOREPATH)에 임의의 파일 경로를 설정하여 에러 응답을 통한 파일 존재 여부 확인
🛡️ 대응 방법
Keyfactor SignServer를 7.6.0 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 7.6.0 미만인지 확인하여 취약 여부를 판단합니다.
curl -s -X GET http://<target-ip>/signserver/api/v1/status | grep -i 'version'
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
💻 영향받는 소프트웨어
IBM WebSphere Application Server