Jump to content

Putty security vulnerabilities

myselfolli

A number of security flaws have been found in the SSH-Client Putty -> Original article (GERMAN)

 

I wasn't able to find an english source, but I did my best to translate all important aspects of the article.

 

Quote

[Translated from German]

The developers of the free software 'Putty' have released a new version, that fixes multiple security flaws. The most critical bug is a memory-corruption bug, which allowed overwriting of memory blocks. This could be done before the server identity had been checked.

 

[Original Quote]

Die Entwickler der freien Software Putty haben eine neue Version veröffentlicht, in der mehrere Sicherheitslücken behoben wurden. Der kritischste Bug ist eine Memory-Corruption-Lücke, die das Überschreiben von Speicher erlaubte.Diese konnte von einem bösartigen Server noch vor der Überprüfung der Serveridentität ausgelöst werden.

Numerous problems have been found by the EU's FOSSA project (free and open source software auditing), in which people, who managed to find and report security flaws in software, could be rewarded financially. This Bug-Bounty project for putty has obviously worked.

 

Quote

[Translated from German]

The mentioed memory-corruption bug occurs when handling RSA-keys and could have been used by an attacker to execute malitious code on the users system. There was also a bug with the handling of randomly generated numbers. On windows, a help-file sitting in the same directory as the putty-file, could have been used for an attack. On Unix there was a buffer overflow with forwarding functions.

[Original Quote]

Die bereits genannte Memory-Corruption-Lücke tritt bei der Verarbeitung von RSA-Schlüsseln auf und könnte von einem Netzwerkangreifer genutzt werden, um Schadcode auf dem System eines Anwenders auszuführen. Weiterhin wurde ein Fehler bei der Verwendung von Zufallszahlen gefunden. Unter Windows kann eine Help-Datei, die sich im selben Verzeichnis wie die Putty-Datei befindet, für Angriffe genutzt werden. Auf Unix-Systemen gibt es zudem einen Buffer Overflow bei Forwarding-Funktionen.

 

Quote

[Translated from German]
Even users, that don't use putty directly may be affected, since a sizeable number of graphical frontends for SSH and the associated SFTP-protocol use putty's code.

[Original Quote]
Auch Anwender, die Putty nicht direkt nutzen, sind möglicherweise betroffen, denn eine ganze Reihe von grafischen Frontends für SSH und das zugehörige Dateiübertragungsprotokoll SFTP setzen den Code von Putty ein

AFAIK the bugs have been fixed in putty's latest update, there was also an update for FileZilla (which is probably the most used graphical frontend for SSH/SFTP), but the patch notes only mention the bug concerning the RSA-key. As for WinSCP, according to the bug tracker, the bugs are still being worked on, but no update has been released yet.
 

My understanding is, that the security flaws were very situational and mostly required access to the users network, but I'll still of course update everything and steer clear of using FileZilla for a few days.

75% of what I say is sarcastic

 

So is the rest probably

Link to comment
Share on other sites

Link to post
Share on other sites

I AM LITERALLY USING PUTTY TO CONFIGURE MY DAMN CISCO ROUTER... !!!!

 

WHY DOES THIS HAPPEN TO ME.

 

Back to being normal. Well, this sucks. Now I have to use something else....

CPU: AMD Ryzen 5 5600X | CPU Cooler: Stock AMD Cooler | Motherboard: Asus ROG STRIX B550-F GAMING (WI-FI) | RAM: Corsair Vengeance LPX 16 GB (2 x 8 GB) DDR4-3000 CL16 | GPU: Nvidia GTX 1060 6GB Zotac Mini | Case: K280 Case | PSU: Cooler Master B600 Power supply | SSD: 1TB  | HDDs: 1x 250GB & 1x 1TB WD Blue | Monitors: 24" Acer S240HLBID + 24" Samsung  | OS: Win 10 Pro

 

Audio: Behringer Q802USB Xenyx 8 Input Mixer |  U-PHORIA UMC204HD | Behringer XM8500 Dynamic Cardioid Vocal Microphone | Sound Blaster Audigy Fx PCI-E card.

 

Home Lab:  Lenovo ThinkCenter M82 ESXi 6.7 | Lenovo M93 Tiny Exchange 2019 | TP-LINK TL-SG1024D 24-Port Gigabit | Cisco ASA 5506 firewall  | Cisco Catalyst 3750 Gigabit Switch | Cisco 2960C-LL | HP MicroServer G8 NAS | Custom built SCCM Server.

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

who still uses that? SSH is built into all the major OS's now. just open command prompt on Windows or the terminal on macOS and Linux and you can use SSH. 

She/Her

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, firelighter487 said:

who still uses that? SSH is built into all the major OS's now. just open command prompt on Windows or the terminal on macOS and Linux and you can use SSH. 

Honestly the only thing I've used it for recently was a serial connection.

[Out-of-date] Want to learn how to make your own custom Windows 10 image?

 

Desktop: AMD R9 3900X | ASUS ROG Strix X570-F | Radeon RX 5700 XT | EVGA GTX 1080 SC | 32GB Trident Z Neo 3600MHz | 1TB 970 EVO | 256GB 840 EVO | 960GB Corsair Force LE | EVGA G2 850W | Phanteks P400S

Laptop: Intel M-5Y10c | Intel HD Graphics | 8GB RAM | 250GB Micron SSD | Asus UX305FA

Server 01: Intel Xeon D 1541 | ASRock Rack D1541D4I-2L2T | 32GB Hynix ECC DDR4 | 4x8TB Western Digital HDDs | 32TB Raw 16TB Usable

Server 02: Intel i7 7700K | Gigabye Z170N Gaming5 | 16GB Trident Z 3200MHz

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, 2FA said:

Honestly the only thing I've used it for recently was a serial connection.

on linux and macOS you can do: screen /dev/tty.usbserial

 

if you have a usb serial adaptor that is. on Windows i don't know. 

 

btw if that command doesn't work the serial adaptor has a different name in /dev. to figure out what it needs to be use: ls /dev/*usb*

 

that will show the correct name. 

She/Her

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, firelighter487 said:

who still uses that? SSH is built into all the major OS's now. just open command prompt on Windows or the terminal on macOS and Linux and you can use SSH. 

As an ISP engineer, we all use putty. Enterprise gear rarely has any configuration on them and putty is NEEDED for console. Even then its ssh from putty to LAN gear.

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, mynameisjuan said:

As an ISP engineer, we all use putty. Enterprise gear rarely has any configuration on them and putty is NEEDED for console. Even then its ssh from putty to LAN gear.

you don't need putty for console or ssh. see my posts above yours. 

She/Her

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, firelighter487 said:

you don't need putty for console or ssh. see my post above yours. 

6 minutes ago, firelighter487 said:

if you have a usb serial adaptor that is. on Windows i don't know. 

Guess what we use (and Windows built in linux support is shit with serial adapters). Ive been down this route before

 

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, mynameisjuan said:

Guess what we use (and Windows built in linux support is shit with serial adapters). Ive been down this route before

ssh is built into Windows. serial is indeed a different story. 

She/Her

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, firelighter487 said:

ssh is built into Windows. serial is indeed a different story. 

I know ssh is built in and serial can be done through powershell but not worth my time farting with it every time

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, mynameisjuan said:

I know ssh is built in and serial can be done through powershell but not worth my time farting with it every time

fair enough. i personally find CLI way faster than a GUI app for that sort of stuff but everyone has different workflows. 

She/Her

Link to comment
Share on other sites

Link to post
Share on other sites

12 minutes ago, firelighter487 said:

on linux and macOS you can do: screen /dev/tty.usbserial

 

if you have a usb serial adaptor that is. on Windows i don't know. 

 

btw if that command doesn't work the serial adaptor has a different name in /dev. to figure out what it needs to be use: ls /dev/*usb*

 

that will show the correct name. 

nah it was serial to serial and the command for that wouldn't work for whatever reason, just resulted in a blank console or something iirc

[Out-of-date] Want to learn how to make your own custom Windows 10 image?

 

Desktop: AMD R9 3900X | ASUS ROG Strix X570-F | Radeon RX 5700 XT | EVGA GTX 1080 SC | 32GB Trident Z Neo 3600MHz | 1TB 970 EVO | 256GB 840 EVO | 960GB Corsair Force LE | EVGA G2 850W | Phanteks P400S

Laptop: Intel M-5Y10c | Intel HD Graphics | 8GB RAM | 250GB Micron SSD | Asus UX305FA

Server 01: Intel Xeon D 1541 | ASRock Rack D1541D4I-2L2T | 32GB Hynix ECC DDR4 | 4x8TB Western Digital HDDs | 32TB Raw 16TB Usable

Server 02: Intel i7 7700K | Gigabye Z170N Gaming5 | 16GB Trident Z 3200MHz

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, firelighter487 said:

fair enough. i personally find CLI way faster than a GUI app for that sort of stuff but everyone has different workflows. 

I live in CLI...thats what putty is for. I avoid GUIs with a passion but putty is so simple it doesnt bother me. 

Link to comment
Share on other sites

Link to post
Share on other sites

I didn't even knew windows can SSH into linux without puTTy

Specs: Motherboard: Asus X470-PLUS TUF gaming (Yes I know it's poor but I wasn't informed) RAM: Corsair VENGEANCE® LPX DDR4 3200Mhz CL16-18-18-36 2x8GB

            CPU: Ryzen 9 5900X          Case: Antec P8     PSU: Corsair RM850x                        Cooler: Antec K240 with two Noctura Industrial PPC 3000 PWM

            Drives: Samsung 970 EVO plus 250GB, Micron 1100 2TB, Seagate ST4000DM000/1F2168 GPU: EVGA RTX 2080 ti Black edition

Link to comment
Share on other sites

Link to post
Share on other sites

 

12 hours ago, williamcll said:

I didn't even knew windows can SSH into linux without puTTy

Yep:  https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/ssh-remoting-in-powershell-core?view=powershell-6

2023 BOINC Pentathlon Event

F@H & BOINC Installation on Linux Guide

My CPU Army: 5800X, E5-2670V3, 1950X, 5960X J Batch, 10750H *lappy

My GPU Army:3080Ti, 960 FTW @ 1551MHz, RTX 2070 Max-Q *lappy

My Console Brigade: Gamecube, Wii, Wii U, Switch, PS2 Fatty, Xbox One S, Xbox One X

My Tablet Squad: iPad Air 5th Gen, Samsung Tab S, Nexus 7 (1st gen)

3D Printer Unit: Prusa MK3S, Prusa Mini, EPAX E10

VR Headset: Quest 2

 

Hardware lost to Kevdog's Law of Folding

OG Titan, 5960X, ThermalTake BlackWidow 850 Watt PSU

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×