🔍 CVE-2026-81674

0.0
CVSS Score
UNKNOWN
2026-08-27
2026-08-28 18:58
✅ 완료

🇰🇷 한글 설명

‘/ws/apiprensa/getVideoNextPrev’ 엔드포인트의 id_ambito 파라미터에서 SQL 인젝션 취약점이 발견되었습니다. 검증되지 않은 입력값이 MariaDB 쿼리에 직접 포함되어 공격자가 SQL 구문을 주입할 수 있으며, 이로 인해 데이터베이스 오류 메시지가 노출되고 내부 쿼리 구조가 드러날 수 있습니다.

💡 쉬운 설명

웹사이트의 특정 주소에 조작된 명령어를 입력하여 데이터베이스를 마음대로 조작할 수 있는 보안 약점입니다. 이 공격을 통해 데이터베이스의 내부 구조가 노출되어 더 큰 해킹 사고로 이어질 수 있습니다.

🇺🇸 원문 (English)

The endpoint ‘/ws/apiprensa/getVideoNextPrev’ is vulnerable to SQL injection via the id_ambito parameter. Unsanitized input is directly incorporated into a MariaDB query, allowing attackers to inject SQL syntax that interrupts the query's execution. The vulnerability results in detailed database error messages and exposes the internal structure of the queries, which could facilitate further exploitation.

📍 영향받는 시스템

id_ambito 파라미터를 사용하는 MariaDB 기반의 웹 애플리케이션 (/ws/apiprensa/getVideoNextPrev 엔드포인트)

⚔️ 공격 벡터

id_ambito 파라미터에 악의적인 SQL 구문을 삽입하여 데이터베이스 쿼리 실행을 방해하거나 정보를 탈취함

🛡️ 대응 방법

입력값에 대한 유효성 검사를 수행하고, Prepared Statement(매개변수화된 쿼리)를 사용하여 SQL 인젝션을 방지해야 합니다.

🔧 검증 코드

명령어 실행 결과로 SQL 문법 오류나 MariaDB 관련 에러 메시지가 출력되면 취약한 상태입니다.

Shell / Script
curl -s -G 'http://<target>/ws/apiprensa/getVideoNextPrev' --data-urlencode 'id_ambito=1''' | grep -E 'SQL syntax|MariaDB|error'

💻 영향받는 소프트웨어

MariaDB