🔍 CVE-2022-36088

5.0
CVSS Score
MEDIUM
2022-09-07
2026-06-17 04:52
✅ 완료

🇰🇷 한글 설명

22.2.0 미만 버전의 GoCD Windows 설치 프로그램은 기본 경로 이외의 위치에 설치될 경우 권한 제한이 적절히 이루어지지 않습니다. 이로 인해 로컬 접근 권한이 있는 악의적인 사용자가 설치된 실행 파일이나 구성 요소를 수정할 수 있습니다.

💡 쉬운 설명

GoCD를 기본 폴더가 아닌 다른 곳에 설치하면, 컴퓨터를 사용하는 다른 사람이 프로그램 파일을 마음대로 바꿀 수 있는 보안 허점이 있습니다. 이를 통해 해커가 프로그램에 악성 코드를 심을 위험이 있습니다.

🇺🇸 원문 (English)

GoCD is a continuous delivery server. Windows installations via either the server or agent installers for GoCD prior to 22.2.0 do not adequately restrict permissions when installing outside of the default location. This could allow a malicious user with local access to the server GoCD Server or Agent are installed on to modify executables or components of the installation. This does not affect zip file-based installs, installations to other platforms, or installations inside `Program Files` or `Program Files (x86)`. This issue is fixed in GoCD 22.2.0 installers. As a workaround, if the server or agent is installed outside of `Program Files (x86)`, verify the the permission of the Server or Agent installation directory to ensure the `Everyone` user group does not have `Full Control`, `Modify` or `Write` permissions.

📍 영향받는 시스템

GoCD 22.2.0 미만 버전 (Windows 설치형 서버 및 에이전트)

⚔️ 공격 벡터

로컬 접근 권한을 가진 사용자가 권한이 취약한 설치 디렉토리 내의 실행 파일을 변조

🛡️ 대응 방법

GoCD 22.2.0 이상 버전으로 업데이트하거나, 설치 디렉토리의 'Everyone' 그룹 권한에서 Full Control, Modify, Write 권한을 제거

🔧 검증 코드

명령어 실행 결과로 권한 정보가 출력되면 해당 디렉토리는 보안에 취약한 상태입니다.

Shell / Script
powershell -Command "(Get-Item 'C:\GoCD_Installation_Path').GetAccessControl().Access | Where-Object { $_.IdentityReference -eq 'Everyone' -and ($_.FileSystemRights -match 'FullControl' -or $_.FileSystemRights -match 'Modify' -or $_.FileSystemRights -match 'Write') }"

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM Security Verify Access