@woeisme @solonovamax
Back in the day, we had exactly the same with email. Like a text file in notepad, emails were so simple that they could not contain a virus (you could attach one, but attachments didn't do anything, you could just save then).
Then Microsoft introduced Outlook and Outlook Express, and for a while, email viruses were the most common kind.
@solonovamax "An attacker could trick a user into clicking a malicious link inside a Markdown file opened in Notepad, causing the application to launch unverified protocols that load and execute remote files."
Why have they made their plaintext editor render markdown??
I've tried it, it's ugly, and doesn't blend well with actually editing the file. Couldn't they just do syntax highlighting?!
@Kiloku
I prefer the Markdown approach to how Apple just turned their text editor into a straight Word Processor without an easy way to do unformatted text anymore. Still, Microsoft shouldn't be feature-cramming Notepad of all programs!
At least the new Microsoft "Edit" is an OK text editor...
@solonovamax
Basically, it's effectively a shell injection via markdown-formatted hyperlinks.
@solonovamax A decade ago, if you told IT security people that this would happen, you'd have been laughed out of the room.
1985, it released with Windows 1.0
1990, the Windows 3.0 version added a Help menu.
I think it basically was unchanged until Windows 10 when they decided it'd be a good idea to support Unix line endings. There might've been file size limit increases in that time too… but the UI was basically unchanged.
Then some bright spark decided it needed AI.
@solonovamax @stuartl I went and tried to find if there's ever been a prior CVE for notepad and came up empty.
So decent odds that this is the first CVE Windows Notepad has ever had.
That's an accomplishment, just not of the good kind.
@StryderNotavi @solonovamax Not surprising, the only way you could achieve a CVE back then would be to make someone open a nasty text file.
Given it used to throw its hands up in the air beyond a megabyte or two, that was a tall order. Maybe DDE had a vector, but I doubt it.
It was fine for 40 years… 40! Then, they decided it was due for its mid-life crisis with CVE-inducing network features.
@solonovamax For those who are curious, there's a JavaScript VM where you can play around with these in your browser:
https://www.pcjs.org/software/pcx86/sys/windows/1.00/ is what Notepad first looked like… you can run it by double-clicking the `NOTEPAD.EXE` in the MS-DOS Executive window once Windows 1.0 has booted.
https://www.pcjs.org/software/pcx86/sys/windows/3.00/ is the form that most people here would have seen it in. You'll find Notepad under Accessories. Windows 3.0 introduced an online help feature, hence the new "Help" menu.
It basically was unchanged from there. A few years later, it became 32-bit, but still looked and worked the same. Sadly, they do not have a Windows NT 3.1 image on that site, but they have Windows 95 there:
https://www.pcjs.org/software/pcx86/sys/windows/win95/4.00.950/
(Blows my mind actually that Windows 95 can run in a web browser today… but here we are.)
I seem to recall the Windows 7 one looked pretty much identical. It did its job, until the day it didn't.