🇰🇷 한글 설명
MEDHOST Document Management System의 PostgreSQL 데이터베이스 접근에 사용되는 dms 계정의 비밀번호가 하드코딩되어 있습니다. 모든 설치에서 동일한 비밀번호를 사용하며, 고객이 변경할 수 없어 인가되지 않은 사용자가 환자 및 재무 정보에 접근할 수 있습니다.
💡 쉬운 설명
MEDHOST 시스템의 데이터베이스 암호가 프로그램 코드에 고정되어 있어서, 이 암호를 알면 누구나 환자 정보에 접근할 수 있습니다. 모든 고객이 같은 암호를 사용하므로 변경할 수 없습니다.
🇺🇸 원문 (English)
MEDHOST Document Management System contains hard-coded credentials that are used for customer database access. An attacker with knowledge of the hard-coded credentials and the ability to communicate directly with the database may be able to obtain or modify sensitive patient and financial information. PostgreSQL is used as the Document Management System database. The account name is dms. The password is hard-coded throughout the application, and is the same across all installations. Customers do not have the option to change passwords. The dms account for PostgreSQL has access to the database schema for Document Management System.
📍 영향받는 시스템
MEDHOST Document Management System (모든 버전, PostgreSQL 데이터베이스)
⚔️ 공격 벡터
네트워크를 통해 데이터베이스에 접근 가능한 공격자가 하드코딩된 dms 자격증명으로 인증하여 민감한 데이터 조회/수정
🛡️ 대응 방법
MEDHOST 보안 패치 적용, 데이터베이스 접근 제어 강화, 변수화된 자격증명 시스템으로 업그레이드
🔧 검증 코드
명령어가 'Vulnerable'을 반환하면 dms 계정이 존재하며 취약한 상태, 'Not found'이면 시스템이 설치되지 않았거나 이미 완화됨
sudo -u postgres psql -c "SELECT rolname FROM pg_roles WHERE rolname='dms'" 2>/dev/null | grep -q dms && echo "Vulnerable" || echo "Not found"