Wednesday, 14 August 2019

Google Discloses 20-Year-Old Unpatched Flaw Affecting All Versions of Windows


ctfmon windows vulnerabilities
A Google security researcher has just disclosed details of a 20-year-old unpatched high-severity vulnerability affecting all versions of Microsoft Windows, back from Windows XP to the latest Windows 10.

The vulnerability resides in the way MSCTF clients and server communicate with each other, allowing even a low privileged or a sandboxed application to read and write data to a higher privileged application.

MSCTF is a module in Text Services Framework (TSF) of the Windows operating system that manages things like input methods, keyboard layouts, text processing, and speech recognition.

In a nutshell, when you log in to your Windows machine, it starts a CTF monitor service that works as a central authority to handle communications between all clients, which are actually windows for each process running on the same session.

"You might have noticed the ctfmon service in task manager, it is responsible for notifying applications about changes in keyboard layout or input methods. The kernel forces applications to connect to the ctfmon service when they start, and then exchange messages with other clients and receive notifications from the service," the researcher explained.

Tavis Ormandy from Google's Project Zero Team discovered that since there is no access control or any kind of authentication in place for this interaction, any application, any user and even sandboxed processes can:

  • connect to CTF session,
  • read and write the text of any window, from any other session,
  • fake their thread id, process id, and HWND,
  • pretend as a CTF service, tricking other applications, even privileged ones, to connect to it, or
  • escape from sandboxes and escalate privileges.

"There is no access control in CTF, so you could connect to another user's active session and take over any application, or wait for an Administrator to login and compromise their session," Ormandy explains in a blog post published today.

"It turns out it was possible to reach across sessions and violate NT security boundaries for nearly twenty years, and nobody noticed."



If exploited, the weakness in CTF protocol could allow attackers to easily bypass User Interface Privilege Isolation (UIPI), letting even an unprivileged process to:

  • read sensitive text from any window of other applications, including passwords out of dialog boxes,
  • gain SYSTEM privileges,
  • take control of the UAC consent dialog,
  • send commands to the administrator's console session, or
  • escape IL/AppContainer sandboxes by sending input to unsandboxed windows.

Ormandy has also published a proof-of-concept video demonstrating how the issue can be exploited to gain SYSTEM privileges in Windows 10.

Besides this, CTF protocol reportedly also contain many memory corruption flaws that, according to the researcher, can be exploited in a default configuration.

"Even without bugs, the CTF protocol allows applications to exchange input and read each other's content. However, there are a lot of protocol bugs that allow taking complete control of almost any other application. It will be interesting to see how Microsoft decides to modernize the protocol," Ormandy says.

The researcher has also released a custom open-source "CTF Exploration Tool" on Github that he developed and used to discover many critical security issues in the Windows CTF protocol.

Ormandy responsibly reported his findings to Microsoft in mid-May this year and released the details to the public today after Microsoft failed to address the issue within 90 days of being notified

15 comments:

  1. Hey Nice Blog!!! Thank you for sharing the information. Wonderful blog & good post.Its really helpful for me, waiting for a more new post. Keep Blogging!!!

    php website development company in delhi
    PHP Web Development services in noida
    Penetration Testing Services in Noida

    ReplyDelete
  2. Information security services Welcome to Euclid Security services, it is a reliable name in the cyber security consulting space. We offer Information security services and Managed security patch services.

    ReplyDelete
  3. Hii dear:)! Yeah, most of my wishes are yours blog-related. Awesome blog!!!!
    Thanks to sharing this with us! Thanks a lot!!!!!!!!!
    France VPS

    ReplyDelete
  4. Thanks for sharing such a informative blog with us. We also allow information about India VPS so anyone interested visit this link.

    ReplyDelete
  5. This Article is Worth of sharing. The information is helpful for sure! Keep going like this!
    Germany VPS Hosting

    ReplyDelete
  6. Thanks for sharing this great post.
    If someone needs YouTube related support first visit youtube.com/activate. Follow the given instructions and simple methods to fix YouTube issues by your hand. If you cannot Activate YouTube on your device, you can contact us our professional expert team resolve your issues instantly and provide step by step solution.

    ReplyDelete
  7. Nice information…very well and clearly explained… Thank you so much for this valuable information…Great work keep doing. Looking for the best cyber security services in Hyderabad at affordable prices contact cyanous software solutions.

    Best cyber security services in Hyderabad
    Best software & web development company in Hyderabad

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. Thank you, so much send important information to this blog "Google Discloses 20-Year-Old Unpatched Flaw Affecting All Versions of Windows". MSCTF is a module in the Text Services Framework (TSF) of the Windows operating system that manages things like input methods, keyboard layouts, text processing, and speech recognition. I would be happy to share your blog with people. You want to know more about USA VPS Hosting, I will be jovial to help you.

    ReplyDelete

  11. Nice article! It is very useful for everyone who is looking for this kind of blog information. Keep updating more technologies and ideas! this information is very useful for me and you are doing amazing work. If you want to know about server hosting, I can help you USA VPS hosting You can ask us for more details and services. Get best and fast hosting service with us. Thank you so much for sharing this and I wish you all the best for the upcoming article..!!!!!

    ReplyDelete
  12. We are offering fake ids and driving license that will help you in many situations.
    We have over 20 years of experience. Buy Fake ID Online in California from our Fake ID Online Store in the USA.WhatsApp +17202488130 ( highpills@gmail.com )
    We have best, scannable and Cheap Fake IDs with hologram and other security details for sale in California and the USA.
    To know more about us, visit our website.
    Order Premium quality scannable fake id
    WhatsApp +17202488130 ( highpills@gmail.com )
    where to buy fake driver license online

    buy fake id with paypal

    florida fake driver license

    california fake driver license

    colorado fake driver license

    fake california driver license

    michigan fake driver license

    Maryland fake driver license usa

    texas fake driver license

    fake id

    make fake driver license online

    make fake id online

    buy fake id online

    fake texas driver license

    georgia fake driver's license

    uk fake driving license

    michigan fake driver license

    fake oklahoma driver license

    oklahoma fake driver license

    illinois fake driver's license

    Mississippi fake driver license

    fake driving license

    fake illinois driver's license

    georgia fake driver's license

    uk fake driving license

    North carolina fake drivers license

    missouri fake driver license

    fake missouri driver license

    pensylvannia fake driver's license

    fake pensylvannia driver's license

    new jersey fake auto driver license

    fake new jersey auto driver license

    new york state fake driver license

    fake new york state driver license

    connecticut fake drivers license usa

    ohio fake driver's license

    fake ohio driver's license

    buy ohio fake driver's license online usa

    WhatsApp +17202488130 ( highpills@gmail.com )

    ReplyDelete
  13. Excellent post. I was checking constantly this blog and I’m impressed! Very useful information particularly the ultimate phase.I handle such info a lot. I used to be looking for this particular information for a very long time. Thanks and best of luck.…Malwarebytes Crack

    ReplyDelete
  14. This comment has been removed by the author.

    ReplyDelete
  15. Nice article! It is very useful for everyone who is looking for this kind of blog information. Keep updating more technologies and ideas! this information is very useful for me and you are doing amazing work. If you want to know about server hosting, I can help you USA Dedicated Server. You can ask us for more details and services. Get best and fast hosting service with us. Thank you so much for sharing this and I wish you all the best for the upcoming article..!!!!!

    ReplyDelete