🔍 CVE-2026-81677

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

🇰🇷 한글 설명

‘/ws/apiprensa/getVideo’ 엔드포인트의 GET 파라미터인 ‘id_ambito’에 대한 검증이 미흡하여 SQL 인젝션 취약점이 발생합니다. 공격자는 MariaDB 쿼리 구조를 깨뜨리는 SQL 구문을 주입할 수 있으며, 이로 인해 PDOException을 통한 데이터베이스 오류 메시지가 노출될 수 있습니다.

💡 쉬운 설명

웹사이트의 특정 주소에 입력하는 값이 제대로 검사되지 않아, 해커가 데이터베이스를 조작할 수 있는 약점이 있습니다. 이를 통해 데이터베이스 내부 정보가 유출되거나 오류 메시지가 화면에 나타날 수 있습니다.

🇺🇸 원문 (English)

The ‘/ws/apiprensa/getVideo’ endpoint is vulnerable to SQL injection due to improper validation of the GET parameter `id_ambito`. An attacker can inject SQL syntax that breaks the underlying structure of the MariaDB query, resulting in syntax errors and the exposure of database error messages via PDOException. This confirms that user input is being incorporated directly into SQL statements without proper sanitization or the use of prepared statements.

📍 영향받는 시스템

MariaDB를 사용하는 웹 애플리케이션의 /ws/apiprensa/getVideo 엔드포인트

⚔️ 공격 벡터

GET 요청의 id_ambito 파라미터에 악의적인 SQL 구문을 삽입하여 공격

🛡️ 대응 방법

입력값에 대한 유효성 검사를 실시하고, Prepared Statement를 사용하여 SQL 쿼리를 작성해야 합니다.

🔧 검증 코드

명령어 실행 결과에 SQL 문법 오류나 PDOException 관련 메시지가 포함되어 있으면 취약한 상태입니다.

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

💻 영향받는 소프트웨어

MariaDB