🔍 CVE-2026-48528

9.8
CVSS Score
CRITICAL
2026-08-14
2026-09-18 20:09
✅ 완료

🇰🇷 한글 설명

Metacat 데이터 저장소 소프트웨어의 특정 REST API 엔드포인트에서 인증되지 않은 사용자가 SQL 인젝션을 수행할 수 있는 취약점이 발견되었습니다. 공격자는 nodeId 파라미터를 조작하여 PostgreSQL 데이터베이스의 임의 데이터를 추출하거나 데이터를 수정 및 삭제할 수 있습니다. 이 취약점은 에러 메시지를 통해 SQL 결과를 반환하는 메커니즘을 악용하며, 데이터베이스 내의 민감한 정보를 완전히 노출시킬 수 있습니다.

💡 쉬운 설명

해커가 로그인하지 않고도 데이터베이스에 몰래 명령어를 입력하여 중요한 정보를 훔치거나 내용을 바꿀 수 있는 보안 구멍입니다. 잘못된 명령어를 입력했을 때 나타나는 에러 메시지를 이용해 데이터베이스의 내용을 알아내는 방식입니다.

🇺🇸 원문 (English)

Metacat is data repository software that helps researchers preserve, share, and discover data. Metacat versions 2.0.0 through 3.4.0 contain an unauthenticated SQL injection vulnerability in the `/cn/v1/object` and `/cn/v2/object` REST API endpoints due to unsanitized user input that can be passed through to the backend SQL database. The `nodeId` parameter can be modified to inject SQL commands, and the results are returned in error messages. Metacat appends the user-supplied data into the sql query without sanitization or parameterization. This allows extraction of arbitrary data from the underlying PostgresQL database, fully exposing protected information to the attacker. This is accomplished by leveraging the error reporting mechanisms in Metacat, where SQL error responses are mirrored back to the caller in the XML error message returned by Metacat. One approach, for example, is to use the PostgreSQL `CAST` function to generate an error with the results of an arbitrary subquery, which is then injected into the XML error message returned by Metacat. Attackers do not need to be authenticated to execute the attack. In addition, arbitrary SQL statements that insert, update, and delete data in the Metacat database can be executed, resulting in full compromise of all data in the database. Full proof of concept attacks have been developed and verified for these vulnerabilities. The impact of this vulnerability is critical for Metacat deployments in the DataONE network where information from the database can be exfiltrated, added, changed, or deleted. This includes management information about the data catalog, access log information about who accessed data, identifying information about individuals including their ORCID identifier and client IP address, access control information about who should be able to access and modify data, and other critical internals of the data system. This sql injection vulnerability was remediated fully in Metacat version 3.4.1. If upgrading to Metacat 3.4.1 isn't immediately possible, most deployments can mitigate the issue by disabling the `/cn` REST endpoints in the webapp deployment. This API is not needed or used by member repositories in the DataONE network, as it is only used by the DataONE Coordinating Node deployments. Consequently, this API can be disabled without reduction of functionality for most deployments. To disable the vulnerable endpoints, simply remove the servlet and servlet-mapping for the `/cn` endpoints in the servlet engine associated with the two servlets, `edu.ucsb.nceas.metacat.restservice.v1.CNRestServlet` and `edu.ucsb.nceas.metacat.restservice.v2.CNRestServlet`. For example, in Tomcat, remove the relevant `servlet-mapping` elements from the application web.xml file in Metacat.

📍 영향받는 시스템

Metacat versions 2.0.0 through 3.4.0

⚔️ 공격 벡터

인증되지 않은 사용자가 /cn/v1/object 및 /cn/v2/object API의 nodeId 파라미터에 악의적인 SQL 구문을 주입하여 공격

🛡️ 대응 방법

Metacat 버전을 3.4.1 이상으로 업그레이드하거나, 즉시 업그레이드가 불가능할 경우 web.xml에서 /cn 관련 서블릿 매핑을 제거하여 해당 API를 비활성화하십시오.

🔧 검증 코드

설치된 Metacat의 버전을 확인하여 2.0.0에서 3.4.0 사이인지 확인하십시오.

Shell / Script
grep -E 'Metacat' /path/to/your/metacat/version/file 2>/dev/null || echo 'Version check required'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Apache Tomcat