🇰🇷 한글 설명
onetwothreeneth HospitalManagementSystem의 php/controller.php 파일 내 특정 함수들에서 img 인자 조작을 통한 제한 없는 파일 업로드가 가능합니다. 이 취약점은 원격에서 공격이 가능하며, 이미 공개된 익스플로잇이 존재하여 위험도가 높습니다. 해당 제품은 롤링 릴리스 방식으로 운영되어 정확한 영향 버전 확인이 어렵습니다.
💡 쉬운 설명
병원 관리 시스템의 이미지 업로드 기능에 허점이 있어, 해커가 악성 파일을 몰래 올릴 수 있습니다. 공격자가 원격에서 시스템을 장악할 위험이 있으므로 주의가 필요합니다.
🇺🇸 원문 (English)
A weakness has been identified in onetwothreeneth HospitalManagementSystem up to 9ef91ed6007314b6473110ed699dff76d158f61d. The affected element is the function add_patient/add_physician/add_account/update_account/update_subaccount/edit_physician/edit_patient of the file php/controller.php. Executing a manipulation of the argument img can lead to unrestricted upload. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. This product operates on a rolling release basis, ensuring continuous delivery. Consequently, there are no version details for either affected or updated releases. The project was informed of the problem early through an issue report but has not responded yet.
📍 영향받는 시스템
onetwothreeneth HospitalManagementSystem (commit 9ef91ed6007314b6473110ed699dff76d158f61d 포함 이전 버전)
⚔️ 공격 벡터
원격에서 img 인자 값을 조작하여 제한되지 않은 파일 업로드 수행
🛡️ 대응 방법
img 인자에 대한 파일 확장자 및 MIME 타입 검증 로직을 추가하고, 업로드 디렉토리의 실행 권한을 제거하십시오.
🔧 검증 코드
출력된 커밋 해시가 9ef91ed6007314b6473110ed699dff76d158f61d와 같거나 그 이전 단계라면 취약한 상태입니다.