kcve.ai취약점 정보 · 내 서버 확인

CVE-2018-19417 An issue was discovered in the MQTT server in Contiki-NG before 4.2. The function parse_publish_vhd…

설명

4.2 이전 Contiki-NG의 MQTT 서버에서 문제가 발견되었습니다. 변수 길이 헤더를 사용하여 MQTT PUBLISH 메시지를 구문 분석하는 parse_publish_vhdr() 함수는 memcpy를 사용하여 데이터를 고정 크기 버퍼에 입력합니다. 할당된 버퍼는 MQTT_MAX_TOPIC_LENGTH (기본값 64) 바이트만 적합할 수 있으며 길이 검사가 누락되었습니다. 이것은 스택 스매싱 공격을 통해 원격 코드 실행으로 이어질 수 있습니다 (기능 반환 주소를 덮어 쓰기). Contiki-NG는 MQTT 서버를 다른 서버 및 OS 모듈과 분리하지 않으므로 모든 메모리 영역에 대한 액세스가 가능합니다.

기계 번역

원문 보기

An issue was discovered in the MQTT server in Contiki-NG before 4.2. The function parse_publish_vhdr() that parses MQTT PUBLISH messages with a variable length header uses memcpy to input data into a fixed size buffer. The allocated buffer can fit only MQTT_MAX_TOPIC_LENGTH (default 64) bytes, and a length check is missing. This could lead to Remote Code Execution via a stack-smashing attack (overwriting the function return address). Contiki-NG does not separate the MQTT server from other servers and the OS modules, so access to all memory regions is possible.

영향 받는 제품 제품 1개

  • contiki-ng

    contiki-ng

    해결 버전 있음

    영향 받는 버전

    • 4.2 미만

    해결 버전

    • 4.2 이상
‹ 목록

운영 중인 서버의 점검 지원 범위가 궁금하면

도입 문의