PHP 까지 4.4.9/5.5.6 Timestamp Converter openssl_x509_parse ASN1 Timestamp 메모리 손상

CVSS 메타 임시 점수현재 익스플로잇 가격 (≈)CTI 관심 점수
9.0$0-$5k0.00

요약정보

현재 PHP 까지 4.4.9/5.5.6에서 비판적인로 분류된 취약점이 발견되었습니다. 해당 사항은 함수 openssl_x509_parse 컴포넌트 Timestamp Converter의에 해당합니다. 이러한 조작 ASN1 Timestamp의 일부로 이루어질 경우 메모리 손상을(를) 유발합니다. 이 취약점은 CVE-2013-6420로 식별됩니다. 더욱이, 이용 가능한 익스플로잇이 있습니다. 문제가 있는 구성 요소를 업그레이드할 것을 권고합니다.

세부정보

현재 PHP 까지 4.4.9/5.5.6에서 비판적인로 분류된 취약점이 발견되었습니다. 해당 사항은 함수 openssl_x509_parse 컴포넌트 Timestamp Converter의에 해당합니다. 이러한 조작 ASN1 Timestamp의 일부로 이루어질 경우 메모리 손상을(를) 유발합니다. CWE를 활용한 선언은 CWE-119로 연결됩니다. 아래는 권고문의 요약입니다:

Other applications like Wordpress use openssl_x509_parse() to further verify SSL certificates whenever Wordpress connects to a HTTPS URL (in case ext/curl is not loaded which is the default for several linux distributions).
이 약점은 발표되었습니다 2013. 12. 13. Stefan Esser (i0n1c)에 의해 SektionEins GmbH와 함께 PHP openssl_x509_parse() Memory Corruption Vulnerability로 권고로 (웹사이트). sektioneins.de에서 이 권고문을 내려받을 수 있습니다. 공급업체와의 협력 하에 공개 배포가 이루어졌습니다. 공개 보고서에는 다음이 포함되어 있습니다:
RedHat Security tells php.net that they should commit the fix silently and add info about it only after release. They further tell php.net to tell us to not discuss the vulnerability in public prior to patches being available. [email protected] fixes the vulnerability openly and does not attempt to hide that the commit is a security fix as RedHat Security suggested. RedHat Security Announces that they now consider this vulnerability public and sends out their own patches with big announcement one day before php.net is ready to release their own fixes.

이 취약점은 CVE-2013-6420로 식별됩니다. 2013. 11. 04. 에 CVE가 할당되었습니다. 기술적인 세부 사항이 있습니다. 이 취약점은 평균에 비해 인기가 낮은 편입니다. 더욱이, 이용 가능한 익스플로잇이 있습니다. 해당 익스플로잇이 공개되어 악용될 수 있습니다. 현재 시점에서 익스플로잇의 가격은 대략 USD $0-$5k 정도로 추정됩니다. 이 취약점이 발생한 이유는 아래 코드에 있습니다:

static time_t asn1_time_to_time_t(ASN1_UTCTIME  timestr TSRMLS_DC) / {{{ */
  {
  /*
     This is how the time string is formatted:
     snprintf(p, sizeof(p), "%02d%02d%02d%02d%02d%02dZ",ts->tm_year%100,
        ts->tm_mon+1,ts->tm_mday,ts->tm_hour,ts->tm_min,ts->tm_sec);
  */

time_t ret; struct tm thetime; char * strbuf; char * thestr; long gmadjust = 0;

if (timestr->length < 13) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "extension author too lazy to parse %s correctly", timestr->data); return (time_t)-1; }

해당 권고문에서는 다음 내용을 강조합니다:
This problem can be triggered by x509 certificates that contain NUL bytes in their notBefore and notAfter timestamp fields and leads to a memory corruption that might result in arbitrary code execution. (…) Within the function openssl_x509_parse() the helper function asn1_time_to_time_t() is called two times (…).

개념 증명로 지정됩니다. 익스플로잇이 다운로드를 위해 sektioneins.de에 게시되었습니다. 이 취약점은 최소 11일 이상 비공개 제로데이 익스플로잇 상태였습니다. 0-day일 때 추정되는 암시장 가격은 약 $25k-$100k였습니다. Nessus에서 71574 플러그인 ID를 가진 플러그인을 제공합니다. Amazon Linux Local Security Checks 패밀리로 할당되었습니다. 플러그인은 l 유형의 컨텍스트에서 실행되고 있습니다. 0 포트에 기반하고 있습니다. 상용 취약점 스캐너 Qualys는 이 문제를 43551 플러그인으로 테스트할 수 있습니다 (Juniper JUNOS J-Web: Multiple Vulnerabilities (JSA10804)).

업그레이드된 버전은 php.net에서 제공되고 있습니다. 문제가 있는 구성 요소를 업그레이드할 것을 권고합니다. 권고문에서 다음과 같이 언급하고 있습니다:

[email protected] pushes PHP updates to the PHP 5.3, PHP 5.4 and PHP 5.5 branches to the mirros as was previously agreed upon.

이러한 공격은 TippingPoint 및 필터 13619로 탐지 및 방지할 수 있습니다. 이 취약점은 다음의 다른 취약점 데이터베이스에도 문서화되어 있습니다: SecurityFocus (BID 64018), X-Force (89602), Secunia (SA59652), Vulnerability Center (SBV-42606) , Tenable (71574).

제품정보

유형

이름

버전

특허

웹사이트

CPE 2.3정보

CPE 2.2정보

CVSSv4정보

VulDB 벡터: 🔍
VulDB 신뢰성: 🔍

CVSSv3정보

VulDB 메타 베이스 점수: 10.0
VulDB 메타 임시 점수: 9.0

VulDB 기본 점수: 10.0
VulDB 임시 점수: 9.0
VulDB 벡터: 🔍
VulDB 신뢰성: 🔍

CVSSv2정보

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
벡터복잡성인증기밀성진실성유효성
잠금 해제하다잠금 해제하다잠금 해제하다잠금 해제하다잠금 해제하다잠금 해제하다
잠금 해제하다잠금 해제하다잠금 해제하다잠금 해제하다잠금 해제하다잠금 해제하다
잠금 해제하다잠금 해제하다잠금 해제하다잠금 해제하다잠금 해제하다잠금 해제하다

VulDB 기본 점수: 🔍
VulDB 임시 점수: 🔍
VulDB 신뢰성: 🔍

NVD 기본 점수: 🔍

악용정보

수업: 메모리 손상
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

물리적인: 아니요
현지: 아니요
원격: 네

유효성: 🔍
접근: 공개
상태: 개념 증명
저자: Stefan Esser (i0n1c)
프로그래밍 언어: 🔍
다운로드: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

가격 예측: 🔍
현재 가격 추정: 🔍

0-Day잠금 해제하다잠금 해제하다잠금 해제하다잠금 해제하다
오늘잠금 해제하다잠금 해제하다잠금 해제하다잠금 해제하다

Nessus ID: 71574
Nessus 이름: Amazon Linux AMI : php (ALAS-2013-262)
Nessus 파일: 🔍
Nessus 위험: 🔍
Nessus 가족: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 702816
OpenVAS 이름: Debian Security Advisory DSA 2816-1 (php5 - several vulnerabilities
OpenVAS 파일: 🔍
OpenVAS 가족: 🔍

Qualys ID: 🔍
Qualys 이름: 🔍

Exploit-DB: 🔍

위협 인텔리전스정보

관심: 🔍
활성 배우: 🔍
활성 APT 그룹: 🔍

대책정보

추천: 업그레이드
상태: 🔍

반응 시간: 🔍
0일 시간: 🔍
익스플로잇 지연 시간: 🔍

업그레이드: php.net
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS 버전: 🔍

ISS Proventia IPS: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍

타임라인정보

2013. 11. 04. 🔍
2013. 11. 27. +23 날 🔍
2013. 12. 01. +4 날 🔍
2013. 12. 02. +1 날 🔍
2013. 12. 09. +7 날 🔍
2013. 12. 12. +3 날 🔍
2013. 12. 13. +1 날 🔍
2013. 12. 13. +0 날 🔍
2013. 12. 16. +3 날 🔍
2013. 12. 16. +0 날 🔍
2013. 12. 17. +1 날 🔍
2013. 12. 17. +0 날 🔍
2013. 12. 23. +6 날 🔍
2014. 07. 07. +196 날 🔍
2024. 12. 30. +3829 날 🔍

출처정보

제품: php.org

권고: PHP openssl_x509_parse() Memory Corruption Vulnerability
연구원: Stefan Esser (i0n1c)
조직: SektionEins GmbH
상태: 확인됨
확인: 🔍
조정된: 🔍

CVE: CVE-2013-6420 (🔍)
GCVE (CVE): GCVE-0-2013-6420
GCVE (VulDB): GCVE-100-11512

OVAL: 🔍
IAVM: 🔍

X-Force: 89602
SecurityFocus: 64018 - PHP CVE-2013-6712 Remote Denial of Service Vulnerability
Secunia: 59652 - SUSE update for php5, Highly Critical
SecurityTracker: 1029472
Vulnerability Center: 42606 - PHP Remote Arbitrary Code Execution and Denial of Service due to a Flaw in the openssl_x509_parse Function, High

scip Labs: https://www.scip.ch/en/?labs.20161013
기타: 🔍
또한 보십시오: 🔍

항목정보

만들어진: 2013. 12. 16. PM 03:13
업데이트됨: 2024. 12. 30. PM 04:08
변경 사항: 2013. 12. 16. PM 03:13 (112), 2018. 11. 25. AM 10:02 (10), 2021. 06. 04. AM 11:40 (2), 2024. 12. 30. PM 04:08 (14)
완벽한: 🔍
Cache ID: 216:695:103

논의

아직 댓글이 없습니다. 언어: ko + en.

댓글을 작성하려면 로그인하세요.

Do you need the next level of professionalism?

Upgrade your account now!