CVE-2021-20110 Due to Manage Engine Asset Explorer Agent 1.0.34 not validating HTTPS certificates, an attacker on…
설명
Due to Manage Engine Asset Explorer Agent 1.0.34 not validating HTTPS certificates, an attacker on the network can statically configure their IP address to match the Asset Explorer's Server IP address. This will allow an attacker to send a NEWSCAN request to a listening agent on the network as well as receive the agent's HTTP request verifying its authtoken. In httphandler.cpp, the agent reaching out over HTTP is vulnerable to an Integer Overflow, which can be turned into a Heap Overflow allowing for remote code execution as NT AUTHORITY/SYSTEM on the agent machine. The Integer Overflow occurs when receiving POST response from the Manage Engine server, and the agent calling "HttpQueryInfoW" in order to get the "Content-Length" size from the incoming POST request. This size is taken, but multiplied to a larger amount. If an attacker specifies a Content-Length size of 1073741823 or larger, this integer arithmetic will wrap the value back around to smaller integer, then calls "calloc" with this size to allocate memory. The following API "InternetReadFile" will copy the POST data into this buffer, which will be too small for the contents, and cause heap overflow.
HTTPS 인증서를 검증하지 않는 엔진 자산 탐색기 에이전트 1.0.34 관리로 인해 네트워크의 공격자는 자산 탐색기의 서버 IP 주소와 일치하도록 IP 주소를 정적으로 구성할 수 있습니다. 이렇게 하면 공격자가 네트워크 상의 청취 에이전트에 NEWSCAN 요청을 보내고 에이전트의 HTTP 요청을 수신하여 인증 토큰을 확인할 수 있습니다. httphandler.cpp에서 HTTP를 통해 도달한 에이전트는 Integer Overflow에 취약하며, 이는 에이전트 시스템에서 NT AUTHORITY/SYSTEM으로 원격 코드 실행을 허용하는 Heap Overflow로 전환될 수 있습니다. Integer Overflow는 Manage Engine 서버로부터 POST 응답을 받을 때 발생하며, 에이전트는 들어오는 POST 요청으로부터 "Content-Length" 크기를 얻기 위해 "HttpQueryInfoW"를 호출한다. 이 크기는 사용하지만 더 큰 금액으로 곱합니다. 공격자가 Content-Length 크기를 1073741823 이상으로 지정하면 이 정수 산술은 그 값을 더 작은 정수로 다시 감싸고 "calloc"을 이 크기와 함께 호출하여 메모리를 할당합니다. 다음 API "InternetReadFile"은 POST 데이터를 이 버퍼에 복사하여 내용물이 너무 작아서 힙 오버플로를 유발합니다.
영향 받는 제품 제품 1개
-
Manage Engine Asset Explorer Agent
영향 받는 버전
- 1.0.34
해결 버전
해결된 버전 정보가 없습니다.