Type 1 Font Parsing Remote Code Execution Vulnerability for Windows

Brink

Administrator
Staff member
Local time
3:57 PM
Messages
74,775
Location
Oklahoma
Microsoft has become aware of limited targeted Windows 7 based attacks that could leverage un-patched vulnerabilities in the Adobe Type Manager Library, and is providing the following guidance to help reduce customer risk until the security update is released. We appreciate the efforts of our industry partners and are complying with a 7-day timeline for disclosing information regarding these limited attacks.

Two remote code execution vulnerabilities exist in Microsoft Windows when the Windows Adobe Type Manager Library improperly handles a specially-crafted multi-master font - Adobe Type 1 PostScript format.

There are multiple ways an attacker could exploit the vulnerability, such as convincing a user to open a specially crafted document or viewing it in the Windows Preview pane.

Microsoft is aware of this vulnerability and working on a fix. Updates that address security vulnerabilities in Microsoft software are typically released on Update Tuesday, the second Tuesday of each month. This predictable schedule allows for partner quality assurance and IT planning, which helps maintain the Windows ecosystem as a reliable, secure choice for our customers. The operating system versions that are affected by this vulnerability are listed below. Please see the mitigation and workarounds for guidance on how to reduce the risk.

Please Note: The threat is low for those systems running Windows 10 due to mitigations that were put in place with the first version released in 2015. Please see the mitigation section for details. Microsoft is not aware of any attacks against the Windows 10 platform. The possibility of remote code execution is negligible and elevation of privilege is not possible. We do not recommend that IT administrators running Windows 10 implement the workarounds described below.

Microsoft recommends upgrading to the Windows 10 family of clients and servers.

Security Updates

To determine the support life cycle for your software version or edition, see the Microsoft Support Lifecycle.

<see source>


Mitigations

For systems running supported versions of Windows 10 a successful attack could only result in code execution within an AppContainer sandbox context with limited privileges and capabilities.

1.jpg

For more information, see Mitigating font exploits with AppContainer.

Workarounds

  • Disable the Preview Pane and Details Pane in Windows Explorer
Disabling the Preview and Details panes in Windows Explorer prevents the automatic display of OTF fonts in Windows Explorer. While this prevents malicious files from being viewed in Windows Explorer, it does not prevent a local, authenticated user from running a specially crafted program to exploit this vulnerability. To disable these panes in Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, and Windows 8.1, perform the following steps:

  1. Open Windows Explorer, click Organize, and then click Layout.
  2. Clear both the Details pane and Preview pane menu options.
  3. Click Organize, and then click Folder and search options.
  4. Click the View tab.
  5. Under Advanced settings, check the Always show icons, never thumbnails box.
  6. Close all open instances of Windows Explorer for the change to take effect.
For Windows Server 2016, Windows 10, and Windows Server 2019, perform the following steps:

  1. Open Windows Explorer, click the View tab.
  2. Clear both the Details pane and Preview pane menu options.
  3. Click Options, and then click Change folder and search options.
  4. Click the View tab.
  5. Under Advanced settings, check the Always show icons, never thumbnails box.
  6. Close all open instances of Windows Explorer for the change to take effect.
Impact of workaround.

Windows Explorer will not automatically display OTF fonts.

How to undo the workaround.

To re-enable the Preview and Details panes in Windows Explorer for Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, and Windows 8.1:

  1. Open Windows Explorer, click Organize, and then click Layout.
  2. Select both the Details pane and Preview pane menu options.
  3. Click Organize, and then click Folder and search options.
  4. Click the View tab.
  5. Under Advanced settings, clear the Always show icons, never thumbnails box.
  6. Close all open instances of Windows Explorer for the change to take effect.
For Windows Server 2016, Windows 10, and Windows Server 2019:

  1. Open Windows Explorer, click the View tab.
  2. Select both the Details pane and Preview pane menu options.
  3. Click Options, and then click Change folder and search options.
  4. Click the View tab.
  5. Under Advanced settings, clear the Always show icons, never thumbnails box.
  6. Close all open instances of Windows Explorer for the change to take effect.
Disable the WebClient service

Disabling the WebClient service helps protect affected systems from attempts to exploit this vulnerability by blocking the most likely remote attack vector through the Web Distributed Authoring and Versioning (WebDAV) client service. After applying this workaround it is still possible for remote attackers who successfully exploit this vulnerability to cause the system to run programs located on the targeted user's computer or the Local Area Network (LAN), but users will be prompted for confirmation before opening arbitrary programs from the Internet.

To disable the WebClient Service, perform the following steps:

  1. Click Start, click Run (or press the Windows Key and R on the keyboard), type Services.msc and then click OK.
  2. Right-click WebClient service and select Properties.
  3. Change the Startup type to Disabled. If the service is running, click Stop.
  4. Click OK and exit the management application.
Impact of workaround.

When the WebClient service is disabled, Web Distributed Authoring and Versioning (WebDAV) requests are not transmitted. In addition, any services that explicitly depend on the WebClient service will not start, and an error message will be logged in the System log. For example, WebDAV shares will be inaccessible from the client computer.

How to undo the workaround.

To re-enable the WebClient Service, perform the following steps:

  1. Click Start, click Run (or press the Windows Key and R on the keyboard), type Services.msc and then click OK.
  2. Right-click WebClient service and select Properties.
  3. Change the Startup type to Automatic. If the service is not running, click Start.
  4. Click OK and exit the management application.
Rename ATMFD.DLL

For 32-bit systems:

1. Enter the following commands at an administrative command prompt:

View attachment 32-bit_Rename_ATMFD.DLL.bat


Download



Code:
cd "%windir%\system32"
takeown.exe /f atmfd.dll
icacls.exe atmfd.dll /save atmfd.dll.acl
icacls.exe atmfd.dll /grant Administrators:(F) 
rename atmfd.dll x-atmfd.dll

2. Restart the system.​

For 64-bit systems:

1. Enter the following commands at an administrative command prompt:

View attachment 64-bit_Rename_ATMFD.DLL.bat


Download



Code:
    cd "%windir%\system32"
    takeown.exe /f atmfd.dll
    icacls.exe atmfd.dll /save atmfd.dll.acl
    icacls.exe atmfd.dll /grant Administrators:(F) 
    rename atmfd.dll x-atmfd.dll
    cd "%windir%\syswow64"
    takeown.exe /f atmfd.dll
    icacls.exe atmfd.dll /save atmfd.dll.acl
    icacls.exe atmfd.dll /grant Administrators:(F) 
    rename atmfd.dll x-atmfd.dll

2. Restart the system.​

Optional procedure for Windows 8.1 operating systems and below (disable ATMFD):

Note Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or view the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe.

Method 1 (manually edit the system registry):

  1. Run regedit.exe as Administrator.
  2. In Registry Editor, navigate to the following sub key (or create it) and set its DWORD value to 1: HKLM\Software\Microsoft\Windows NT\CurrentVersion\Windows\DisableATMFD, DWORD = 1
  3. Close Registry Editor and restart the system.
Method 2 (use a managed deployment script):

  1. Create a text file named ATMFD-disable.reg that contains the following text:

    View attachment ATMFD-disable.reg


    Download



    Code:
    Windows Registry Editor Version 5.00
        [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows]
        "DisableATMFD"=dword:00000001
  2. Run regedit.exe.
  3. In Registry Editor, click the File menu and then click Import.
  4. Navigate to and select the ATMFD-disable.reg file that you created in the first step. (Note If your file is not listed where you expect it to be, ensure that it has not been automatically given a .txt file extension, or change the dialog’s file extension parameters to All Files).
  5. Click Open and then click OK to close Registry Editor.
Impact of workaround

Applications that rely on embedded font technology will not display properly. Disabling ATMFD.DLL could cause certain applications to stop working properly if they use OpenType fonts. Microsoft Windows does not release any OpenType fonts natively. However, third-party applications could install them and they could be affected by this change.

How to undo the workaround

For 32-bit systems:

1. Enter the following commands at an administrative command prompt:

View attachment 32-bit_Undo.bat


Download



Code:
    cd "%windir%\system32"
    rename x-atmfd.dll atmfd.dll
    icacls.exe atmfd.dll /setowner "NT SERVICE\TrustedInstaller"
    icacls.exe . /restore atmfd.dll.acl

2. Restart the system.​

For 64-bit systems:

1. Enter the following commands at an administrative command prompt:

View attachment 64-bit_Undo.bat


Download



Code:
    cd "%windir%\system32"
    rename x-atmfd.dll atmfd.dll
    icacls.exe atmfd.dll /setowner "NT SERVICE\TrustedInstaller"
    icacls.exe . /restore atmfd.dll.acl
    cd "%windir%\syswow64"
    rename x-atmfd.dll atmfd.dll
    icacls.exe atmfd.dll /setowner "NT SERVICE\TrustedInstaller"
    icacls.exe . /restore atmfd.dll.acl

2. Restart the system.​

Optional procedure for Windows 8.1 operating systems and below (enable ATMFD):

Note Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or view the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe.

Method 1 (manually edit the system registry):

  1. Run regedit.exe as Administrator.
  2. In Registry Editor, navigate to the following sub key and set its DWORD value to 0: HKLM\Software\Microsoft\Windows NT\CurrentVersion\Windows\DisableATMFD, DWORD = 0
  3. Close Registry Editor and restart the system.
Method 2 (use a managed deployment script):

  1. Create a text file named ATMFD-enable.reg that contains the following text:

    View attachment ATMFD-enable.reg


    Download



    Code:
        Windows Registry Editor Version 5.00
        [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows]
        "DisableATMFD"=dword:00000000
  2. Run regedit.exe.
  3. In Registry Editor, click the File menu and then click Import.
  4. Navigate to and select the ATMFD-enable.reg file that you created in the first step. (Note If your file is not listed where you expect it to be, ensure that it has not been automatically given a .txt file extension, or change the dialog’s file extension parameters to All Files).
  5. Click Open and then click OK to close Registry Editor.
FAQ

Is there an update to address this vulnerability?
No, Microsoft is aware of this vulnerability and working on a fix. Updates that address security vulnerabilities in Microsoft software are typically released on Update Tuesday, the second Tuesday of each month. This predictable schedule allows for partner quality assurance and IT planning, which helps maintain the Windows ecosystem as a reliable, secure choice for our customers.

Is Microsoft aware of attacks that attempt to leverage this vulnerability?
Yes, Microsoft is aware of limited, targeted attacks that attempt to leverage this vulnerability.

How would customers receive notification about this issue and updated information from Microsoft when published?
Customers who subscribe to Microsoft Technical Security Notifications will receive a notifications whenever new content is published in Microsoft’s Security Update Guide. Find more information about these notifications here: Technical Security Notifications.

Do I need an ESU license to receive the update for Windows 7, Windows Server 2008 and Windows Server 2008 R2 for this vulnerability?
Yes, to receive the security update for this vulnerability for Windows 7, Windows Server 2008, or Windows Server 2008 R2 you must have an ESU licence. See 4522133 for more information.

Why is this update not being released for all Windows 7 customers?
Windows 7 reached end of support on January 14, 2020. For more information on Microsoft lifecycle policies, please visit Life Cycle.

Is the Outlook Preview Pane an attack vector for this vulnerability?
No, the Outlook Preview Pane is NOT an attack vector for this vulnerability

Is the Windows Explorer Preview Pane an attack vector for this vulnerability?
Yes, the Windows Preview Pane is an attack vector for this vulnerability

Is Enhanced Security Configuration, which is on by default on Windows Servers, a mitigation for this vulnerability?
No, Enhanced Security Configuration does not mitigate this vulnerability.

Acknowledgements

Microsoft recognizes the efforts of those in the security community who help us protect customers through coordinated vulnerability disclosure.

See acknowledgements for more information.

Disclaimer

The information provided in the Microsoft Knowledge Base is provided "as is" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.

Revisions

2.jpg


Source: https://portal.msrc.microsoft.com/en-us/security-guidance/advisory/ADV200006
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Hi,
Got a reg file for disable ATMFD in the making?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom assembled by me :}
OS
Win-7-Pro64bit 7-H-Prem-64bit
CPU
i7-5930K 2nd i9-9940x both water blocked VRM's too
Motherboard
ASUS SABERTOOTH X99 2nd ASUS x299 Apex
Memory
Trident-z 3200C14 2nd Trident-z 3600C16
Graphics Card(s)
EVGA 1080ti ftw3 2nd Titan Xp both water blocked
Sound Card
Built-in Realtek
Monitor(s) Displays
1-AOC G2460PG 24"G-Sync 144Hz/ 2nd 1-ASUS VG248QE 24" 144Hz
Screen Resolution
1920 x 1080 144Hz
Hard Drives
2-Samsung M.2 Evo & Evo Plus
2-Samsung 850 EVO 500GB SSD's/ 3-2.5 W.D. Black 1tb-&3-1tb/3-3.5 WD Black 1tb hdd's
PSU
EVGA SuperNOVA 1000-P2 2nd 1200-P2
Case
2-Corsair Obsidian Series 450D Black ATX Mid Tower
Cooling
Custom water loops
Keyboard
Logitech G710+/ 2nd Logitech G910
Mouse
2-RedDragon M901 Perdition 16400 dpi Gaming mouse = wired
Internet Speed
Comcast Ping 19ms 89.31mbps download speed 6.12mbps upload
Antivirus
Malwarebytes Pro/ Superantispyware Pro
Browser
FireFox & Pale moon
Other Info
2nd ASUS X299 Apex/Intel i9-9940x with Custom water loop/7H-Prem-x64/Corsair 450D case/Ram Trident-z 3600C16 4x8gb / Samsung970Evo plus 500gb SSD/Dual ssd EZ swap evo/PSU EVGA SuperNova 1200w-P2 80+Platinum/GPU Titan Xp /8-ML-140 on push-pull on 2-280GTX rads
I have added downloads to the first post to make it easy to run the commands and do the registry changes.

You will only need to download them, and double click/tap on them. They will automatically prompt with UAC to run as administrator if required. :-)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Scanning ALL downloads at VirusTotal and I think you'll be good to go. Malware embedded withen fonts is nothing new. Malware can also be embedded in images.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
I’ve only just seen this. I’m not sure I’ve got windows adobe type manager. How would I know? Is this something to do with creative cloud?
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Samsung S3511
OS
Windows 7 Home Premium 64 Bit (Service Pack 1)
CPU
Premium Dual Core P6200
Motherboard
Samsung S3511
Memory
4 GB
Graphics Card(s)
Intel (R) HD Graphic
Sound Card
Realtek High Definition Audio
Screen Resolution
1366 x 768
Hard Drives
C: D: E: (NTFS)
Cooling
Drive temperature: 38 / 100
Mouse
Wired Logitech B100
Antivirus
McAfee Total Protection
Browser
Supermium Portable and r3dfox
I’ve only just seen this. I’m not sure I’ve got windows adobe type manager. How would I know? Is this something to do with creative cloud?


Would someone be able to help me with this. I definitely have not got Creative Cloud on my computer. I can't find Adobe Type Manager Library installed which I'm assuming is part of CC, so I wouldn't have it.

So do the steps above only apply if you have Creative Cloud?
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Samsung S3511
OS
Windows 7 Home Premium 64 Bit (Service Pack 1)
CPU
Premium Dual Core P6200
Motherboard
Samsung S3511
Memory
4 GB
Graphics Card(s)
Intel (R) HD Graphic
Sound Card
Realtek High Definition Audio
Screen Resolution
1366 x 768
Hard Drives
C: D: E: (NTFS)
Cooling
Drive temperature: 38 / 100
Mouse
Wired Logitech B100
Antivirus
McAfee Total Protection
Browser
Supermium Portable and r3dfox
So do the steps above only apply if you have Creative Cloud?

I think Adobe's Creative Cloud is separate from this.

This font problem is native to Windows, so you would have to do the steps even on a fresh install.

C:\Users\%USERPROFILE%\AppData\Roaming\Adobe

You should see this folder if you paste the address into Windows Explorer.
 

My Computer

Computer type
PC/Desktop
OS
windows seven
I think Adobe's Creative Cloud is separate from this.

This font problem is native to Windows, so you would have to do the steps even on a fresh install.

C:\Users\%USERPROFILE%\AppData\Roaming\Adobe

You should see this folder if you paste the address into Windows Explorer.



Thanks very much for coming back to me; I can see now I've got these fonts, so I'll start to make the changes. Thanks again.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Samsung S3511
OS
Windows 7 Home Premium 64 Bit (Service Pack 1)
CPU
Premium Dual Core P6200
Motherboard
Samsung S3511
Memory
4 GB
Graphics Card(s)
Intel (R) HD Graphic
Sound Card
Realtek High Definition Audio
Screen Resolution
1366 x 768
Hard Drives
C: D: E: (NTFS)
Cooling
Drive temperature: 38 / 100
Mouse
Wired Logitech B100
Antivirus
McAfee Total Protection
Browser
Supermium Portable and r3dfox
Would someone be able to help me with this. I definitely have not got Creative Cloud on my computer. I can't find Adobe Type Manager Library installed which I'm assuming is part of CC, so I wouldn't have it.

So do the steps above only apply if you have Creative Cloud?

Despite the Adobe name, it has nothing to do with Creative Cloud (that's had its own vulnerabilities lately, but this isn't one of them).

From what I've read, Microsoft was given the source code for inclusion in Windows 2000 and MS has been maintaining it since then.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Win 7 Ultimate, Win 8.1 Pro, Linux Mint 19 Cinnamon (All 64-Bit)
CPU
Intel i5 4690K
Motherboard
Gigabyte Z97X-UD3H
Memory
Corsair Vengeance LP 32GB DDR3
Graphics Card(s)
MSI GTX 1060 GAMING X 6GB
Sound Card
Onboard
Hard Drives
Samsung 850 EVO 250GB SSD (x2)
Samsung 860 EVO 1TB SSD (x2)
Crucial MX300 525GB SSD
WD Blue 2TB 5400rpm Intellipark Disabled (x2)
PSU
Corsair HX750i
Case
Phanteks Enthoo Pro
Cooling
CM Hyper 212 EVO on CPU, Noctua Redux NF-P14S 1500rpm (x6)
Keyboard
Corsair K70 RGB LUX
Mouse
Corsair Sabre RGB
Antivirus
Avast Free, MalwareBytes, SAS & CryptoPrevent
Browser
Chrome
Other Info
StarTech PEXESAT322I 2 Port PCI-E SATA Card
ASUS PCE-AC56 Dual-band AC1300 Wireless Card
Akasa FC.Six Manual Fan Controller
And a Partridge in a Pear Tree!
OK thanks guys for your help. I've disabled the preview and details pane, the web client service was already disabled.

I feel a bit nervous about renaming ATMFD.DLL. What does that file do and how would re-naming it keep the computer safe?
 
Last edited:

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Samsung S3511
OS
Windows 7 Home Premium 64 Bit (Service Pack 1)
CPU
Premium Dual Core P6200
Motherboard
Samsung S3511
Memory
4 GB
Graphics Card(s)
Intel (R) HD Graphic
Sound Card
Realtek High Definition Audio
Screen Resolution
1366 x 768
Hard Drives
C: D: E: (NTFS)
Cooling
Drive temperature: 38 / 100
Mouse
Wired Logitech B100
Antivirus
McAfee Total Protection
Browser
Supermium Portable and r3dfox
It's 100% safe. It's like removing a small light bulb inside the glove department of your car. The engine and tires do not get touched.

Re-naming the file will keep it out of reach from windows programs. It's like hiding the cookie jar from a blind person. Malware won't be able to see it.
 

My Computer

Computer type
PC/Desktop
OS
windows seven
Back
Top