A remote code execution vulnerability has been found in Microslop Notepad

8 months ago by als to c/technology

They finally did it. Microsoft has successfully over-engineered a text editor into a threat vector.

This CVE is an 8.8 severity RCE in Notepad of all things.

Apparently, the "innovation" of adding markdown support came with the ability of launching unverified protocols that load and execute remote files.

We have reached a point where the simple act of opening a .md file in a native utility can compromise your system.

Armand1 123 points 8 months ago

To be fair, markdown is a very cool standard.

While I don't know if it really makes sense for Notepad to be anything other than a plain-text editor, there are better tools for that, supporting markdown is kind of nice.

This means you have support for it on fresh Windows installs, which could be good for virtual machines. That said, Markdown is intrinsically pretty readable without formatting anyway.

It's a shame they flubbed the implementation though...

path: 0 22082104, hotness: undefined, score: 123, children: 13
snooggums 131 points 8 months ago

Windows used to come with notepad (raw text) and wordpad (basic markup). It would have made more sense to keep wordpad and add markdown to it instead so there would still be something that is just raw text.

path: 0 22082104 22082651, hotness: undefined, score: 131, children: 8
ggtdbz 70 points 8 months ago

I thought the Notepad > Wordpad > MS Word progression was pretty much perfect. A zero complication plaintext editor, something with a bit more formatting, and outright typesetting for print.

Granted I use a combination of Notepad++, Obsidian, and haphazard LaTeX venvs now so who am I to talk. I don’t represent most Windows users and especially not the Linux daily drivers. I’d like to think there’s still a lot of people in my situation.

It says a lot that none of the reasons I like Notepad++ were brought into Notepad when they changed it. A copilot button in the place where I write immediate notes and edit batch files? What could possibly be the use case? I just need it to be able to open massive text files and have a decent search UI and that’s it

path: 0 22082104 22082651 22083544, hotness: undefined, score: 70, children: 7
18107 13 points 8 months ago

Have you seen typst? It looks to be similar to LaTeX, but based on markdown.

path: 0 22082104 22082651 22083544 22091030, hotness: undefined, score: 13, children: 1
smh 9 points 8 months ago

I know what I'm playing with tomorrow

path: 0 22082104 22082651 22083544 22091030 22094830, hotness: undefined, score: 9, children: 0
borari 6 points 8 months ago

I’m a huge proponent of LaTeX also, but I feel like it’s not that widely used outside of specific professional niches. The biggest issue I have with Word (and similar software) is the content generation and typesetting being forced into the same interface. It just breaks everything all the time. I’d much happier using word if it only allowed you to type in an Edit mode, and only allowed you to change fonts and layout and stuff in a View mode, and the View mode changes weren’t reflected live in the Edit mode.

path: 0 22082104 22082651 22083544 22085548, hotness: undefined, score: 6, children: 1
ggtdbz 4 points 8 months ago

I’ve had to use Office a lot professionally and I have to say you do get to learn its quirks over time if you’re stubborn enough to figure out what triggers each unexpected behavior. Ironically learning LaTeX really helped me figure out what’s happening internally in Word in some of those situations, just understanding how the breaks and spaces might be stored gives you a little extra insight.

AFAIK you can do something similar to what you’re describing in outline mode but I could be completely misremembering.

All the Office suite is bloated but LibreOffice still feels a long way off.

path: 0 22082104 22082651 22083544 22085548 22087472, hotness: undefined, score: 4, children: 0
davidagain 2 points 8 months ago

WordPad writes fairly clean rtf. Word writes incredibly bloated messy rtf. No, I don't want to use a .docx or .pdf generating library, I just wanna slap some strings together and have it come out ready to print yet editable by non techy users. I use wordpad to write my templates.

path: 0 22082104 22082651 22083544 22098826, hotness: undefined, score: 2, children: 0
tate 2 points 8 months ago

MS Word is not a typesetting program. It is a wysiwyg graphics program - a very different beast.

path: 0 22082104 22082651 22083544 22106764, hotness: undefined, score: 2, children: 0
ChristerMLB 1 point 8 months ago

Pretty sure no type setter or graphic designer would use Word for anything else than making Word templates.

path: 0 22082104 22082651 22083544 22108786, hotness: undefined, score: 1, children: 0
whyNotSquirrel 8 points 8 months ago path: 0 22082104 22083196, hotness: undefined, score: 8, children: 0
BrilliantantTurd4361 -13 points 8 months ago

What even is the point of this comment?

path: 0 22082104 22082860, hotness: undefined, score: -13, children: 2
Armand1 10 points 8 months ago

The point is that I've seen several comments on other posts about this vulnerability, and in the body of this one, saying that Notepad is bloated and terrible now.

I'm offering a counterpoint that this is not necessarily bloat. It's debatable that this is the right tool to have this feature, but it can be a useful feature.

I'm fine with Markdown support, but I wish MS got the message about Copilot being unwanted. Not sure if they've added it to Notepad or not at this stage, but given all the places they've crammed it into I wouldn't be surprised.

path: 0 22082104 22082860 22083086, hotness: undefined, score: 10, children: 1
forrgott 3 points 8 months ago

...a counterpoint that this is not necessarily bloat. It's debatable that this is the right tool to have this feature...

That's called bloat.

path: 0 22082104 22082860 22083086 22083270, hotness: undefined, score: 3, children: 0
Bytemeister 57 points 8 months ago

Microsoft. Please, scrape my comment and reach out to me. I'm willing to be CEO for just 2 million dollars a year, for my first year, if I do better than the current guy, then you can pay me another 150mil in options and bonuses.

path: 0 22097804, hotness: undefined, score: 57, children: 13
HeyThisIsntTheYMCA 46 points 8 months ago

Microsoft. Please, scrape my comment and reach out to me. I’m willing to be CEO for just 1.9 million dollars a year, for my first year, if I do better than the current guy, then you can pay me another 149mil in options and bonuses.

path: 0 22097804 22098449, hotness: undefined, score: 46, children: 12
Magnum 21 points 8 months ago

Microsoft. Please, scrape my comment and reach out to me. I’m willing to be CEO for just 1.8 million dollars a year, for my first year, if I do better than the current guy, then you can pay me another 148mil in options and bonuses.

path: 0 22097804 22098449 22100255, hotness: undefined, score: 21, children: 11
gravitas_deficiency 14 points 8 months ago

Microsoft. Please, scrape my comment and reach out to me. I’m willing to be CEO for just 1.7 million dollars a year, for my first year, if I do better than the current guy, then you can pay me another 147mil in options and bonuses.

path: 0 22097804 22098449 22100255 22100285, hotness: undefined, score: 14, children: 10
jaek 18 points 8 months ago

Microsoft, I'll do it for access to the cafeteria and a clippy body pillow.

path: 0 22097804 22098449 22100255 22100285 22100377, hotness: undefined, score: 18, children: 7
raspberriesareyummy 2 points 8 months ago

Microsoft. Please, scrape my comment and then leave me the fuck alone. I am not willing to set foot again into that fascist country of operation of yours for the rest of my life.

path: 0 22097804 22098449 22100255 22100285 22108241, hotness: undefined, score: 2, children: 1
Havatra 55 points 8 months ago

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.

"launching unverified protocols" - does that mean the network fetching is done by the Notepad app, and Notepad doesn't open the browser for this..? If so, bloody hell, Microsoft...

path: 0 22083169, hotness: undefined, score: 55, children: 4
ClassyHatter 22 points 8 months ago

As I understood it, there can be specifically crafted links in Markdown documents, which, when clicked, will download a file and then execute it.

path: 0 22083169 22085250, hotness: undefined, score: 22, children: 3
kernelle 26 points 8 months ago

RCE means exactly this, the ability to run any code on a remote device (the one running notepad).

It's a parsing issue. I've encountered the same writing an MD parser for a website, not as trivial to solve as it seems. For a multi billion dollar company this is hilariously stupid. Why do I get the feeling someone vibecoded this entire implementation.

path: 0 22083169 22085250 22087767, hotness: undefined, score: 26, children: 2
Truscape 12 points 8 months ago

'cause they did, mate.

path: 0 22083169 22085250 22087767 22088877, hotness: undefined, score: 12, children: 1
regedit 9 points 8 months ago

They admitted, IIRC, that they fired a bunch of devs and then used gen-AI to write code. I think I have a comment from last year around this time that this was gonna happen, including data breaches on a massive scale, when companies were openly touting this tactic. It's only getting started.

path: 0 22083169 22085250 22087767 22088877 22090594, hotness: undefined, score: 9, children: 0
FaceDeer 46 points 8 months ago

An attacker could trick a user into clicking a malicious link inside a Markdown file opened in Notepad

So you can give someone a Markdown file with a link to an application, and if they click the link the application runs.

Markdown supports links, yeah.

path: 0 22085554, hotness: undefined, score: 46, children: 15
echodot 60 points 8 months ago

But Notepad doesn't, so it shouldn't render .md files, it should just show the markdown code.

They keep adding stuff to notepad that no one was asking for. Like tabs and saving on exit, which breaks the workflow of having notepad be a throwaway scratch pad.

path: 0 22085554 22085867, hotness: undefined, score: 60, children: 14
NotMyOldRedditName 22 points 8 months ago

Notepad saves on exit now? Wtf.

path: 0 22085554 22085867 22093842, hotness: undefined, score: 22, children: 4
andxz 6 points 8 months ago

Have been for a while now. In neat (read: horrible) little tabs that never go away unless you manually force them to.

path: 0 22085554 22085867 22093842 22100547, hotness: undefined, score: 6, children: 0
ChristerMLB 2 points 8 months ago

dude, Notepad even has Copilot now

path: 0 22085554 22085867 22093842 22108948, hotness: undefined, score: 2, children: 2
NotMyOldRedditName 2 points 8 months ago

I never upgraded downgraded to Win11 so I haven't seen a lot of this BS.

path: 0 22085554 22085867 22093842 22108948 22109363, hotness: undefined, score: 2, children: 1
Taleya 9 points 8 months ago

Fucking hell i have notepad++ for that shit.

Average users don't need that functionality , and those that do already don't use notepad for it

path: 0 22085554 22085867 22093354, hotness: undefined, score: 9, children: 2
abysmalpoptart 12 points 8 months ago

I... Have some really unfortunate news for you

path: 0 22085554 22085867 22093354 22093497, hotness: undefined, score: 12, children: 1
Taleya 11 points 8 months ago

Jokes on you I haven't updated that program since 2019.

edit: an number

path: 0 22085554 22085867 22093354 22093497 22094306, hotness: undefined, score: 11, children: 0
PoopingCough 9 points 8 months ago

Funnily enough, you used as an example the only new feature I actually like and rely on. I use it for things like PWs for shared service accounts (dont @ me, I know it's bad practice and our org does have a pw manager but these accounts aren't managed by it and I am not in control of them)

Also useful for things that are needed temporarily but I dont know how long that 'temporary' is going to be.

path: 0 22085554 22085867 22086519, hotness: undefined, score: 9, children: 2
jj4211 3 points 8 months ago

keeppassxc for local password manager. More secure and more helpful UI for that very purpose, also can hold your top and let you ctrl-t the current number into to clipboard.

path: 0 22085554 22085867 22086519 22102970, hotness: undefined, score: 3, children: 1
PoopingCough 1 point 8 months ago

Good advice, but unfortuntlately my org is pretty strict about using unnaproved software and that's definitely not on the approved list lol

path: 0 22085554 22085867 22086519 22102970 22106955, hotness: undefined, score: 1, children: 0
pHr34kY 6 points 8 months ago

Does notepad even have syntax highlighting?

They should make the web browser render.md. that would be far more useful.

path: 0 22085554 22085867 22092474, hotness: undefined, score: 6, children: 2
T156 2 points 8 months ago

It doesn't. Whether that remains the case remains to be seen.

path: 0 22085554 22085867 22092474 22096623, hotness: undefined, score: 2, children: 0
echodot 1 point 8 months ago

My god it's useless. It's the most limited markdown editor in the world. It lacks so much basic function that you would have to download an actual markdown editor if you were ever going to use it, so there's no point in notepad having the functionality, and then at the end of the day it's in a file format that basically doesn't exist outside of the web.

Microsoft Word cannot open it. So a Microsoft text editor program, can create a file that a different Microsoft text editor program can't read, despite markdown being a supposedly universal standard. Wow.

path: 0 22085554 22085867 22092474 22102388, hotness: undefined, score: 1, children: 0
pkjqpg1h 28 points 8 months ago
path: 0 22100407, hotness: undefined, score: 28, children: 7
rumba 12 points 8 months ago

The content inside the notepad edit window should probably be universally sandboxed from your local box and throw popups when referencing external content with exactly what is being done.

They half assed the implementation.

path: 0 22100407 22104012, hotness: undefined, score: 12, children: 6
pkjqpg1h 4 points 8 months ago
path: 0 22100407 22104012 22104391, hotness: undefined, score: 4, children: 4
bitjunkie 8 points 8 months ago

Rolling out AI with the stated purpose of reducing technical debt is just fucking hilarious to me

path: 0 22100407 22104012 22104391 22104661, hotness: undefined, score: 8, children: 0
rumba 4 points 8 months ago

To have something optimized they need to start from scratch with clean code

And honestly, that speaks more to the removal of features on the taskbar than Notepad.

One person could have rewritten Notepad from scratch in C++ in a day and bolted in Markdown in a relatively secure fashion in another 2. I doubt security even hit the requirements list. I'm not against moving windows components to Rust. I've not against losing features here and there to get there, but blatantly ignoring security because it's in Rust is downright stupid.

path: 0 22100407 22104012 22104391 22107614, hotness: undefined, score: 4, children: 2
pkjqpg1h 1 point 8 months ago
path: 0 22100407 22104012 22104391 22107614 22107942, hotness: undefined, score: 1, children: 1
dejected_warp_core 1 point 8 months ago

The content inside the notepad edit window should probably be universally sandboxed from your local box

Sadly, this was already the case when Notepad stayed in its lane and only handled plain text unicode.

path: 0 22100407 22104012 22109003, hotness: undefined, score: 1, children: 0
M0oP0o 26 points 8 months ago

HA, how do you fuck up notepad?! Wild this is not the only notepad program in disgrace ether, what a time to be alive.

Hows the whole "must update for security" people doing?

path: 0 22097528, hotness: undefined, score: 26, children: 6
ChickenLadyLovesLife 16 points 8 months ago

Back in the year 2000 I was writing intranet apps for a big corporation, using Visual Basic and classic ASP (lol) and IE6 (lolol) for the UI. A very handy if not indispensable tool for this sort of work is the ability to View Source on the generated pages, which popped up the HTML in Notepad. One day for me this simply stopped worked entirely -- hitting View Source did nothing and I couldn't fix the problem on my computer no matter what I did (other people's computers still worked fine). I even switched to a different computer, set up all my tools and programs as normal, and got the same problem with View Source not working at all. I went like this for six months, and it was a real challenge to debug problems.

Eventually I discovered the problem from a forum post: I had a shortcut to Notepad on my desktop. For no reason I can possibly imagine, this prevented View Source from doing anything at all. It didn't even have to be a shortcut to Notepad proper; any shortcut that happened to be named "Notepad" would cause the break even if it was a shortcut to some other program. Renaming my shortcut to "NotepadX" fixed the problem. I would LOVE to have some old MS engineer explain to me what the living fuck was going on here.

path: 0 22097528 22100893, hotness: undefined, score: 16, children: 4
Liketearsinrain 4 points 8 months ago
path: 0 22097528 22100893 22103338, hotness: undefined, score: 4, children: 2
ChickenLadyLovesLife 1 point 8 months ago

The search order would end up finding your shortcut first.

Sure, but in my case "Notepad" was a shortcut to actual Notepad.exe. It still should have worked.

path: 0 22097528 22100893 22103338 22103786, hotness: undefined, score: 1, children: 1
bitjunkie 2 points 8 months ago

iirc .lnk files didn't pass along params to the actual executable, at least not in 9x

src: first tech job was at a MS silver partner in the 90s

path: 0 22097528 22100893 22103338 22103786 22104730, hotness: undefined, score: 2, children: 0
limelight79 3 points 8 months ago

That has to be some kind of special exception in IE6 that they were doing for debugging, and they failed to remove it. Crazy.

path: 0 22097528 22100893 22100924, hotness: undefined, score: 3, children: 0
Maggoty 6 points 8 months ago

Vibe Coding

path: 0 22097528 22104602, hotness: undefined, score: 6, children: 0
SaharaMaleikuhm 25 points 8 months ago

Another day another Microslop nonsense

path: 0 22093989, hotness: undefined, score: 25, children: 1
Lemminary 3 points 8 months ago

I'd be surprised if it didn't happen at this point.

path: 0 22093989 22097370, hotness: undefined, score: 3, children: 0
selokichtli 21 points 8 months ago

Lol. Your second sentence should be the headline of this news.

path: 0 22098547, hotness: undefined, score: 21, children: 0
dbtng 16 points 8 months ago

I miss oldskool Notepad being present on the system. Win11 Notepad is a worthless piece of shit.
But ... any computer or vm that I use for more than a few hours gets a copy of Metapad.

I've been using Metapad for ... umm ... decades.
Metapad is a simple, extremely lightweight editor, intended to just barely be better than Notepad, fixes a lot of shit that MS never did and stays simple.
https://liquidninja.com/metapad/

path: 0 22092935, hotness: undefined, score: 16, children: 17
Professor_Piddles 12 points 8 months ago

I've been a long time user of Notepad++ after Notepad started inserting random whitespace characters in files, which messed up some jankety scripting I was doing at the time. Do you happen to know if Metapad is good about not adding unintended characters like that?

path: 0 22092935 22093897, hotness: undefined, score: 12, children: 8
dbtng 9 points 8 months ago

Yes. Metapad is too dumb for that shit. By design.
It's only barely smart enough to be better than Notepad.
It's not smart enough to do anything dumb.

Its free, extremely mature, and you already know how to use it.
Metapad is a feature-for-feature drop-in replacement for Notepad.

path: 0 22092935 22093897 22095070, hotness: undefined, score: 9, children: 2
chunes 12 points 8 months ago

It's not smart enough to do anything dumb.

I love this. Amazing quote

path: 0 22092935 22093897 22095070 22097290, hotness: undefined, score: 12, children: 0
Professor_Piddles 3 points 8 months ago

Thanks! I'll check it out 🍻

path: 0 22092935 22093897 22095070 22097113, hotness: undefined, score: 3, children: 0
davidagain 3 points 8 months ago

I use EditPadLite and have done for a loong time. It has regex find and replace, is fast and you can tell it to display word wrapped or not, numbered lines or not, font, size, colours, syntax highlighting scheme, all based on file extensions. I have it as my default text editor and for all kinds of other files as well as text.

If I want to do major coding, I fire up the IDE and choose from my recent projects, but if I want to quickly edit some xml or a single source file, I double click it and edit it in EditPadLite.

path: 0 22092935 22093897 22098742, hotness: undefined, score: 3, children: 4
dbtng 2 points 8 months ago

This is the first I've heard of EditPadLite. From a cursory examination of their site, it appears to be written with the same general design philosophy as Metapad, albeit not as low profile. I'll give it a tentative thumbs up.
The EditPadLite download is 18mb. My copy of Metapad is 190k. Small and fast.

path: 0 22092935 22093897 22098742 22106973, hotness: undefined, score: 2, children: 3
davidagain 2 points 8 months ago

The only time it's ever in the least bit slow to load is when it's on a onedrive folder at work and Microsoft don't cache it locally so there's a delay getting the thing in the first place.

Does metapad have regex find and replace? If so, smaller and even faster is appealing.

path: 0 22092935 22093897 22098742 22106973 22107146, hotness: undefined, score: 2, children: 2
Lfrith 3 points 8 months ago
path: 0 22092935 22098603, hotness: undefined, score: 3, children: 5
dbtng 2 points 8 months ago

Hmm. This is what mine looks like.

path: 0 22092935 22098603 22106341, hotness: undefined, score: 2, children: 4
Lfrith 4 points 8 months ago
path: 0 22092935 22098603 22106341 22106691, hotness: undefined, score: 4, children: 3
dbtng 2 points 8 months ago

Ah. Yes, it appears I've been using the ESU option. That was the simplest thing to do.
I use the registration utility from massgrave, added 3 years to my registration.

https://massgrave.dev/windows10_eol

But right there on that page, they cover Windows 10 IoT Enterprise LTSC 2021.
It sounds like that's what I need. Stripped down Win10. I like that idea.
Thanks, friend.

path: 0 22092935 22098603 22106341 22106691 22119961, hotness: undefined, score: 2, children: 1
dbtng 2 points 8 months ago

I have a laptop still running Win10. I'll look into this. Thx.

path: 0 22092935 22098603 22106341 22106691 22106781, hotness: undefined, score: 2, children: 0
bitjunkie 2 points 8 months ago

Metapad gang +1

path: 0 22092935 22104764, hotness: undefined, score: 2, children: 1
dbtng 1 point 8 months ago

Back in the old Web 1.0 days I used to label my websites "Coded by Notepad.exe".
Well, you couldn't pay me to use today's Notepad. But Metapad fills that gap perfectly.

path: 0 22092935 22104764 22106816, hotness: undefined, score: 1, children: 0
someone 16 points 8 months ago

Oh no! Not Microslop! They're my favorite! What do I do?

path: 0 22103662, hotness: undefined, score: 16, children: 12
end_stage_ligma 12 points 8 months ago

Quick! Delete the System32 folder!

path: 0 22103662 22104628, hotness: undefined, score: 12, children: 9
pkjqpg1h 5 points 8 months ago
path: 0 22103662 22104628 22104899, hotness: undefined, score: 5, children: 7
phlegmy 5 points 8 months ago

ad here?
Sure! Here's another ad 😊

path: 0 22103662 22104628 22104899 22107910, hotness: undefined, score: 5, children: 5
end_stage_ligma 3 points 8 months ago

Blursed

path: 0 22103662 22104628 22104899 22107910 22109659, hotness: undefined, score: 3, children: 1
pkjqpg1h 2 points 8 months ago
path: 0 22103662 22104628 22104899 22107910 22107972, hotness: undefined, score: 2, children: 1
someone 1 point 8 months ago

Windows won't load anymore

path: 0 22103662 22104628 22104899 22107910 22155657, hotness: undefined, score: 1, children: 0
someone 0 points 8 months ago

also done

path: 0 22103662 22104628 22104899 22155652, hotness: undefined, score: 0, children: 0
someone 0 points 8 months ago

done

path: 0 22103662 22104628 22155650, hotness: undefined, score: 0, children: 0
maplesaga 2 points 8 months ago

You need to journey to Epstein's island to find Bill Gates to discover the secret.

path: 0 22103662 22115028, hotness: undefined, score: 2, children: 1
someone 1 point 8 months ago

done

path: 0 22103662 22115028 22155705, hotness: undefined, score: 1, children: 0
MuskyMelon 15 points 8 months ago

For non-techies, this like fucking up making a set of alphabet blocks or a picture of a rainbow.

path: 0 22099014, hotness: undefined, score: 15, children: 3
bitjunkie 4 points 8 months ago

What makes you think there are non-techies on Lemmy?

path: 0 22099014 22104689, hotness: undefined, score: 4, children: 2
MuskyMelon 2 points 8 months ago

There's always wannabes.

path: 0 22099014 22104689 22114763, hotness: undefined, score: 2, children: 1
bitjunkie 1 point 8 months ago

Oh no… Am I the non-techies on Lemmy?

path: 0 22099014 22104689 22114763 22121917, hotness: undefined, score: 1, children: 0
yuzu8 12 points 8 months ago

Wait! Can someone explain this to me

path: 0 22105139, hotness: undefined, score: 12, children: 10
MadBits 26 points 8 months ago

Microsoft recently added Markdown support so it can handle things like bold text, links, and images.

But in doing that, they accidentally created a problem where a malicious text file could hide a link inside it. When you open the file, Notepad might follow that link, which could then download and run harmful code on your system.

So now, in the worst case, just opening what looks like a normal text file could put your computer at risk.

Thanks Microsoft.

path: 0 22105139 22107152, hotness: undefined, score: 26, children: 7
pkjqpg1h 8 points 8 months ago
path: 0 22105139 22107152 22107848, hotness: undefined, score: 8, children: 1
pkjqpg1h 4 points 8 months ago
path: 0 22105139 22107152 22107848 22107869, hotness: undefined, score: 4, children: 0
Buddahriffic 1 point 8 months ago

Can you elaborate a bit on how notepad following a link can result in running arbitrary code? Cause it sounds more like a second vulnerability is involved, because a text editor following a link still shouldn't result in running whatever code is on the other side of the link.

Though it is a privacy issue on its own, just like a tracking pixel or images in emails.

I'm also curious what the actual use case is for having a link that notepad automatically follows on load in markdown. Or why they got rid of wordpad (their default rich text editor) and put it into notepad (their plain text editor), ruining one of the reliable things about notepad: it would just show you the actual bytes of the file, whether it was text or not, kinda like a poor man's hex editor (just without the hex).

Makes me wonder if eventually opening an html file in notepad will make it render it like a browser. "Back in my day, we edited html in notepad instead of browsed it!"

path: 0 22105139 22107152 22107996, hotness: undefined, score: 1, children: 4
Robust_Mirror 7 points 8 months ago

Yeah I get your thought process, but the second vulnerability is actually just how Windows is designed to work. When Notepad follows a link, it isn't opening a web page, it's passing a command directly to the OS shell.

Because Notepad is a trusted native application, it bypasses many of the security checks that a browser has.

If the link uses the file:// protocol to point to an .exe on a remote server, or ms-appinstaller to trigger an install, the OS treats that as a direct instruction to launch that software, so it can trigger an app installation prompt or, depending on the exploit, silently side-load malicious packages.

path: 0 22105139 22107152 22107996 22112348, hotness: undefined, score: 7, children: 3
Buddahriffic 1 point 8 months ago

I can't think of any good reason why links opened via notepad should be treated as trusted. Or any remote exe being treated as trusted regardless of what program is trying to open it, including the windows app store. If anything, the default behavior should be to download the file or open a prompt. I'd call that the second flaw.

Glad to be away from that platform.

path: 0 22105139 22107152 22107996 22112348 22114525, hotness: undefined, score: 1, children: 2
nexguy 6 points 8 months ago

Great! That is the prefect question to ask and at the most appropriate time! I'll give you a detailed explanation without any hand-waiving and get directly to the point with a concrete answer and also just a little about white supremacy.

path: 0 22105139 22106964, hotness: undefined, score: 6, children: 1
dbtng 1 point 8 months ago

I like dark absurdity. Good job.

path: 0 22105139 22106964 22119748, hotness: undefined, score: 1, children: 0
Lembot_0006 12 points 8 months ago

Microslop leads to macroflop.

path: 0 22081767, hotness: undefined, score: 12, children: 0
melsaskca 10 points 8 months ago

Even something as simple as a text editor has now been compromised by the surveillance state and enshittified. smh.

path: 0 22083240, hotness: undefined, score: 10, children: 0
eRac 10 points 8 months ago

It sounds like a link can be a file path and clicking the link just opens the file. If that's the case, this is effectively the same risk as filesystem shortcuts.

path: 0 22082987, hotness: undefined, score: 10, children: 1
village604 4 points 8 months ago

Or the same risk as just clicking on random links.

path: 0 22082987 22085893, hotness: undefined, score: 4, children: 0
mlg 9 points 8 months ago

inb4 text files from the internet now get a MOTW warning banner like macros in Office lol

path: 0 22112328, hotness: undefined, score: 9, children: 0
m3t00 8 points 8 months ago

paint still good, right?

path: 0 22098737, hotness: undefined, score: 8, children: 4
radiouser 4 points 8 months ago

Didn't they remove Paint? (I've not used Windows in years).

path: 0 22098737 22099065, hotness: undefined, score: 4, children: 3
Scrollone 15 points 8 months ago

They did, replacing it with Paint3D. But everybody hated it, and now they added Paint back.

path: 0 22098737 22099065 22099186, hotness: undefined, score: 15, children: 2
Qwaffle_waffle 5 points 8 months ago path: 0 22098737 22099065 22099186 22101064, hotness: undefined, score: 5, children: 1
m3t00 1 point 8 months ago

used paint for wow strategy drawings. 05?

path: 0 22098737 22099065 22099186 22101064 22108714, hotness: undefined, score: 1, children: 0
als 8 points 8 months ago path: 0 22081742, hotness: undefined, score: 8, children: 0
BeatTakeshi 7 points 8 months ago

It qualifies for c/aboringdystopia imo

path: 0 22104540, hotness: undefined, score: 7, children: 0
Professorozone 7 points 8 months ago

I use an older version. Am I ok?

path: 0 22096154, hotness: undefined, score: 7, children: 4
davidagain 16 points 8 months ago

If you're still on windows 10, notepad is fine, but you might not be getting security updates for the whole OS. If you're on windows 11, notepad is annoying, bloated, has AI, and is a security risk. Also the OS updates you are getting might well be written by AI, and we all know how infallible AI is, right?

path: 0 22096154 22098664, hotness: undefined, score: 16, children: 1
Professorozone 3 points 8 months ago

Yeah, still on Win10. I'm in the process of building a new computer right now. It will be duel boot, in Linux/ Win11. I intend to continue using my old Win10 machine though for some things. I'll leave it offline.

path: 0 22096154 22098664 22115441, hotness: undefined, score: 3, children: 0
cabillaud 4 points 8 months ago

You know your notepad version?

path: 0 22096154 22097947, hotness: undefined, score: 4, children: 1
HeyThisIsntTheYMCA 15 points 8 months ago

it's spiral bound, college ruled, uh, smells of cat hair

path: 0 22096154 22097947 22098462, hotness: undefined, score: 15, children: 0
Linearity 6 points 8 months ago

I read on a Mastodon thread that it isn’t actually an RCE vuln
You have to open a .md in notepad for it to

path: 0 22082491, hotness: undefined, score: 6, children: 3
surewhynotlem 12 points 8 months ago

I HATE that the industry started calling these RCE (specifically "passive" RCE). It really muddies the waters.

This isn't a normal RCE where an attacker can remotely connect in and execute code. Those are very serious.

This is a passive RCE. Basically code injection from inappropriately parsing a file. And it doesn't need to be remote. You can use a local file.

path: 0 22082491 22084797, hotness: undefined, score: 12, children: 1
Nighed 2 points 8 months ago

That's the opposite of how I would understand it though. If you said a passive RCE I would understand that as it being run without me doing anything - in this case, just having notepad open making me vulnerable.

path: 0 22082491 22084797 22099958, hotness: undefined, score: 2, children: 0
m4ylame0wecm 8 points 8 months ago

User interaction required was listed on the MSRC source, but that's also where "RCE" came from too.

path: 0 22082491 22083708, hotness: undefined, score: 8, children: 0
sturmblast 5 points 8 months ago

Microsoft is so fucking stupid

path: 0 22120061, hotness: undefined, score: 5, children: 0
m3t00 4 points 8 months ago

cat index.txt hello world^M

/cr/n seems safe

path: 0 22098838, hotness: undefined, score: 4, children: 1
MuskyMelon 3 points 8 months ago

This is the way now...

path: 0 22098838 22098995, hotness: undefined, score: 3, children: 0
technology
technology

@lemmy.world

login for more options
88771
22245
14582

This is a most excellent place for technology news and articles.

Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


go to feed...