🔍 CVE-2026-81676

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

🇰🇷 한글 설명

/ws/apitribuna/ultimosVideos 엔드포인트의 limit_videos 파라미터가 적절한 검증 없이 MariaDB SQL 쿼리에 직접 결합되어 발생하는 취약점입니다. 공격자는 SQL 구문을 주입하여 데이터베이스 오류를 유발하거나 쿼리를 조작할 수 있으며, 이 과정에서 내부 데이터베이스 오류 메시지와 스택 트레이스가 노출될 수 있습니다.

💡 쉬운 설명

웹사이트의 특정 입력창에 특수한 명령어를 넣으면 데이터베이스를 마음대로 조작하거나 내부 정보를 훔쳐볼 수 있는 보안 약점입니다. 잘못된 명령어를 입력했을 때 나타나는 에러 메시지를 통해 시스템의 구조가 공격자에게 노출될 위험이 있습니다.

🇺🇸 원문 (English)

A vulnerability in the endpoint ‘/ws/apitribuna/ultimosVideos’ where the `limit_videos` parameter is directly concatenated into a MariaDB SQL query without proper sanitization or parameterization. By injecting SQL syntax into this parameter, a remote attacker can cause SQL syntax errors and potentially manipulate backend queries. The issue results in an error-based SQL injection and exposes internal database error messages and stack traces, revealing implementation details of the backend system.

📍 영향받는 시스템

MariaDB를 사용하는 특정 웹 애플리케이션의 /ws/apitribuna/ultimosVideos 엔드포인트

⚔️ 공격 벡터

HTTP 요청의 limit_videos 파라미터에 SQL 구문을 주입하는 방식

🛡️ 대응 방법

입력값에 대한 유효성 검사를 수행하고, Prepared Statement 또는 Parameterized Query를 사용하여 SQL 인젝션을 방지해야 합니다.

🔧 검증 코드

명령어 실행 결과로 SQL 문법 오류나 스택 트레이스 등 데이터베이스 관련 에러 메시지가 출력되면 취약한 상태입니다.

Shell / Script
curl -s -G 'http://<target>/ws/apitribuna/ultimosVideos' --data-urlencode 'limit_videos=1'' OR 1=1--' | grep -Ei 'error|stack trace|sql syntax'

💻 영향받는 소프트웨어

MariaDB