Improper neutralization of special elements used in a command ('command injection') in Windows Notepad App allows an unauthorized attacker to execute code over a network.
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.
So far, i learned that notepad can open links from Markdown. I assume Markdown calls some Windows API open(link) where link is any string. That's hardly a vulnerability by itself, that's working as designed.
13 Comments
infeeeee@lemmy.zip · 51 pts · 213d
TIL notepad can render markdown
7isanoddnumber@sh.itjust.works · 2 pts · 213d
The addition of markdown support is what opened this vulnerability, iirc.
allglammedup@sh.itjust.works · 30 pts · 213d
hperrin@lemmy.ca · 27 pts · 213d
Why does the notepad app do anything but edit text?
Venator@lemmy.nz · 17 pts · 213d
Feature creep.
RickyRigatoni@piefed.social · 7 pts · 213d
Creature feep
village604@adultswim.fan · 3 pts · 213d
They added markup so now links work.
MonkderVierte@lemmy.zip · 3 pts · 213d
Well, it was bad at that too. Until they vibe-coded it to a Wordpad2.
x00z@lemmy.world · 11 pts · 213d
I hate the absolute misuse of the RCE definition. An RCE used to not have any user interaction.
Fokeu@lemmy.zip · 9 pts · 213d
Damn, poor windows users... Just kidding lmao
just_another_person@lemmy.world · 6 pts · 213d
Jesus, WOW
_edge@discuss.tchncs.de · 4 pts · 213d
Is there a non-sense free description.
So far, i learned that notepad can open links from Markdown. I assume Markdown calls some Windows API open(link) where link is any string. That's hardly a vulnerability by itself, that's working as designed.
Where does the code execution happen? Is it open(https://hackersite.com/exploite.exe)? Can't be. They're not that stupid.
Is it open(file:///PowerShell.exe?atbitaryCodeHere)? Who would allow this?
Or open(teams://magic/doThing)?
This sounds like trying to blame notepad (and by proxy all app developers) for a design flaw in the ecosystem
MonkderVierte@lemmy.zip · 2 pts · 213d
Chronographs@lemmy.zip · 2 pts · 213d
Well notepad++ hasn’t been looking great https://notepad-plus-plus.org/news/hijacked-incident-info-update/
MonkderVierte@lemmy.zip · 1 pts · 213d
Btw, ycombinator supports no activitypub? I think it would fit well.