CVE-2017-0089 : Detail

CVE-2017-0089

8.8
/
High
Overflow
9.8%V3
Network
2017-03-16
23h00 +00:00
2017-08-15
07h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Uniscribe in Microsoft Windows Vista SP2, Windows Server 2008 SP2 and R2 SP1, and Windows 7 SP1 allows remote attackers to execute arbitrary code via a crafted web site, aka "Uniscribe Remote Code Execution Vulnerability." This vulnerability is different from those described in CVE-2017-0072, CVE-2017-0083, CVE-2017-0084, CVE-2017-0086, CVE-2017-0087, CVE-2017-0088, and CVE-2017-0090.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.

Metrics

Metrics Score Severity CVSS Vector Source
V3.0 8.8 HIGH CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Base: Exploitabilty Metrics

The Exploitability metrics reflect the characteristics of the thing that is vulnerable, which we refer to formally as the vulnerable component.

Attack Vector

This metric reflects the context by which vulnerability exploitation is possible.

Network

A vulnerability exploitable with network access means the vulnerable component is bound to the network stack and the attacker's path is through OSI layer 3 (the network layer). Such a vulnerability is often termed 'remotely exploitable' and can be thought of as an attack being exploitable one or more network hops away (e.g. across layer 3 boundaries from routers).

Attack Complexity

This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.

Low

Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success against the vulnerable component.

Privileges Required

This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.

None

The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files to carry out an attack.

User Interaction

This metric captures the requirement for a user, other than the attacker, to participate in the successful compromise of the vulnerable component.

Required

Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited. For example, a successful exploit may only be possible during the installation of an application by a system administrator.

Base: Scope Metrics

An important property captured by CVSS v3.0 is the ability for a vulnerability in one software component to impact resources beyond its means, or privileges.

Scope

Formally, Scope refers to the collection of privileges defined by a computing authority (e.g. an application, an operating system, or a sandbox environment) when granting access to computing resources (e.g. files, CPU, memory, etc). These privileges are assigned based on some method of identification and authorization. In some cases, the authorization may be simple or loosely controlled based upon predefined rules or standards. For example, in the case of Ethernet traffic sent to a network switch, the switch accepts traffic that arrives on its ports and is an authority that controls the traffic flow to other switch ports.

Unchanged

An exploited vulnerability can only affect resources managed by the same authority. In this case the vulnerable component and the impacted component are the same.

Base: Impact Metrics

The Impact metrics refer to the properties of the impacted component.

Confidentiality Impact

This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.

High

There is total loss of confidentiality, resulting in all resources within the impacted component being divulged to the attacker. Alternatively, access to only some restricted information is obtained, but the disclosed information presents a direct, serious impact. For example, an attacker steals the administrator's password, or private encryption keys of a web server.

Integrity Impact

This metric measures the impact to integrity of a successfully exploited vulnerability. Integrity refers to the trustworthiness and veracity of information.

High

There is a total loss of integrity, or a complete loss of protection. For example, the attacker is able to modify any/all files protected by the impacted component. Alternatively, only some files can be modified, but malicious modification would present a direct, serious consequence to the impacted component.

Availability Impact

This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.

High

There is total loss of availability, resulting in the attacker being able to fully deny access to resources in the impacted component; this loss is either sustained (while the attacker continues to deliver the attack) or persistent (the condition persists even after the attack has completed). Alternatively, the attacker has the ability to deny some availability, but the loss of availability presents a direct, serious consequence to the impacted component (e.g., the attacker cannot disrupt existing connections, but can prevent new connections; the attacker can repeatedly exploit a vulnerability that, in each instance of a successful attack, leaks a only small amount of memory, but after repeated exploitation causes a service to become completely unavailable).

Temporal Metrics

The Temporal metrics measure the current state of exploit techniques or code availability, the existence of any patches or workarounds, or the confidence that one has in the description of a vulnerability.

Environmental Metrics

nvd@nist.gov
V2 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C nvd@nist.gov

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 41652

Publication date : 2017-03-19 23h00 +00:00
Author : Google Security Research
EDB Verified : Yes

Source: https://bugs.chromium.org/p/project-zero/issues/detail?id=1028 We have encountered a crash in the Windows Uniscribe user-mode library, in the USP10!UpdateGlyphFlags function, while trying to display text using a corrupted font file: --- (5268.3b50): Access violation - code c0000005 (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. eax=00003fe0 ebx=0000ffff ecx=000007fc edx=0050ee58 esi=0000f803 edi=0931c020 eip=75230c90 esp=0050eb48 ebp=0050eb50 iopl=0 nv up ei pl nz na po nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010202 USP10!UpdateGlyphFlags+0x30: 75230c90 66834c380210 or word ptr [eax+edi+2],10h ds:002b:09320002=???? 0:000> kb ChildEBP RetAddr Args to Child 0050eb50 752336b3 42555347 0050ee58 00000000 USP10!UpdateGlyphFlags+0x30 0050ed2c 7522f29f 42555347 0050ee68 0050ee3c USP10!ApplyFeatures+0x553 0050ed78 7522b083 00000000 00000000 00000000 USP10!SubstituteOtlGlyphs+0x1bf 0050eda4 75226d5c 0050edd4 0050ee4c 0050ee68 USP10!ShapingLibraryInternal::SubstituteOtlGlyphsWithLanguageFallback+0x23 0050f010 7521548a 0050f11c 0050f148 0050f130 USP10!GenericEngineGetGlyphs+0xa1c 0050f0d0 7521253f 0050f11c 0050f148 0050f130 USP10!ShapingGetGlyphs+0x36a 0050f1bc 751e5c6f 7901150c 09316124 09316318 USP10!ShlShape+0x2ef 0050f200 751f167a 7901150c 09316124 09316318 USP10!ScriptShape+0x15f 0050f260 751f2b14 00000000 00000000 0050f2e0 USP10!RenderItemNoFallback+0xfa 0050f28c 751f2da2 00000000 00000000 0050f2e0 USP10!RenderItemWithFallback+0x104 0050f2b0 751f4339 00000000 0050f2e0 09316124 USP10!RenderItem+0x22 0050f2f4 751e7a04 000004a0 00000400 7901150c USP10!ScriptStringAnalyzeGlyphs+0x1e9 0050f30c 76ca5465 7901150c 09316040 0000000a USP10!ScriptStringAnalyse+0x284 0050f358 76ca5172 7901150c 0050f740 0000000a LPK!LpkStringAnalyse+0xe5 0050f454 76ca1410 7901150c 00000000 00000000 LPK!LpkCharsetDraw+0x332 0050f488 763c18b0 7901150c 00000000 00000000 LPK!LpkDrawTextEx+0x40 0050f4c8 763c22bf 7901150c 00000070 00000000 USER32!DT_DrawStr+0x13c 0050f514 763c21f2 7901150c 0050f740 0050f754 USER32!DT_GetLineBreak+0x78 0050f5c0 763c14d4 7901150c 00000000 0000000a USER32!DrawTextExWorker+0x255 0050f5e4 763c2475 7901150c 0050f740 ffffffff USER32!DrawTextExW+0x1e 0050f618 001a6a5c 7901150c 0050f740 ffffffff USER32!DrawTextW+0x4d [...] 0:000> !heap -p -a eax+edi address 09320000 found in _DPH_HEAP_ROOT @ 9311000 in busy allocation ( DPH_HEAP_BLOCK: UserAddr UserSize - VirtAddr VirtSize) 9311f38: 931c000 4000 - 931b000 6000 5e3e8e89 verifier!AVrfDebugPageHeapAllocate+0x00000229 77580f3e ntdll!RtlDebugAllocateHeap+0x00000030 7753ab47 ntdll!RtlpAllocateHeap+0x000000c4 774e3431 ntdll!RtlAllocateHeap+0x0000023a 5dbea792 vrfcore!VfCoreRtlAllocateHeap+0x00000016 751f68fa USP10!UspAllocStatic+0x000000aa 751f6cea USP10!UspAcquireTempAlloc+0x0000002a 751e8778 USP10!ScriptRecordDigitSubstitution+0x00000028 76ca5304 LPK!ReadNLSScriptSettings+0x00000074 76ca53b8 LPK!LpkStringAnalyse+0x00000038 76ca5172 LPK!LpkCharsetDraw+0x00000332 76ca1410 LPK!LpkDrawTextEx+0x00000040 763c18b0 USER32!DT_DrawStr+0x0000013c 763c22bf USER32!DT_GetLineBreak+0x00000078 763c21f2 USER32!DrawTextExWorker+0x00000255 763c14d4 USER32!DrawTextExW+0x0000001e 763c2475 USER32!DrawTextW+0x0000004d [...] --- The issue reproduces on Windows 7. It is easiest to reproduce with PageHeap enabled, but it is also possible to observe a crash in a default system configuration. In order to reproduce the problem with the provided samples, it might be necessary to use a custom program which displays all of the font's glyphs at various point sizes. Attached is an archive with 3 crashing samples. Proof of Concept: https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/41652.zip

Products Mentioned

Configuraton 0

Microsoft>>Windows_7 >> Version *

Microsoft>>Windows_server_2008 >> Version *

Microsoft>>Windows_server_2008 >> Version r2

Microsoft>>Windows_vista >> Version *

References

http://www.securityfocus.com/bid/96606
Tags : vdb-entry, x_refsource_BID
https://www.exploit-db.com/exploits/41652/
Tags : exploit, x_refsource_EXPLOIT-DB
http://www.securitytracker.com/id/1037992
Tags : vdb-entry, x_refsource_SECTRACK