Live data from Hacker News

Windows Notepad App Remote Code Execution Vulnerability

cve.org

361–370 of 538 posts

Re: Windows Notepad App Remote Code Execution Vulnerability

#362
post #50

Earlier quoted context omitted.

Well technically Unixes like Linux are a mountain of legacy and they are fine. Windows is just a mountain of shit.

"Fine" Why does every Linux distro under the sun try so hard to protect the garbage under /usr/bin/ and /etc/ when literally the only files that matter to me are in /home, which is a free-for-all?

Because Linux (and other nixes) have their root in multiuser/time-share systems/servers. Protecting the system* from the users was important, and protecting users from other users equally as important. Protecting the user's $HOME from themselves/user-level programs wasn't as much of a concern, the user was assumed to be responsible enough to manage it themselves.

Re: Windows Notepad App Remote Code Execution Vulnerability

#363

We have officially reached the logical conclusion of the feature-bloat-to-vulnerability pipeline. For nearly thirty years, notepad.exe was the gold standard for a "dumb" utility which was a simple, win32-backed buffer for strings that did exactly one thing...display text. An 8.8 CVSS on a utility meant for viewing data is a fundamental failure of the principle of least privilege. At some point, they need to stop aski…

> At some point, they need to stop asking "can we add this feature?" and start asking "does this text editor need a network-aware rendering stack?" They didn’t stop there. They also asked “does this need AI?” and came up with the wrong answer.

It is a bit odd that they basically took one of Microsoft’s most universally hated features (Clippy) and then decided “let’s put this into literally every part of the OS”.

Re: Windows Notepad App Remote Code Execution Vulnerability

#364
post #274
post #151

Earlier quoted context omitted.

The day calculator brought me to an MS Store login was the day I became a radical.

Mine was when they asked me to rate the calculator on the store.

The calculator on my Pixel phone has a privacy policy. I want to get off this ride.

Re: Windows Notepad App Remote Code Execution Vulnerability

#365

Earlier quoted context omitted.

>No real sandboxing, a mountain of legacy… You have: - Windows Sandbox (consumer-level sandbox) - Creating a separate User (User folders are permission locked to their user by default, system binaries cannot be modified without admin access) - HyperV (VM hypervisor) - Edge Browsers Don't get me wrong MSFT quality is dropping steeply, but this is still a strong point. For comparision, on Ubuntu, user folder by default…

>Creating a separate User (User folders are permission locked to their user by default, system binaries cannot be modified without admin access) Common practice, and even encouraged by Windows itself, is having the administrator account be the only account. This misuse is a very common thread in Windows systems, and security breaches alike.

Windows has garbage defaults, but if you read through their documentation on enterprise architecture they definitely do not recommend having admin be the only account. They do in fact encourage separate accounts, multiple level of privileges with login restrictions across different types of machines, etc.

Many Linux distros are also guilty of this, disabling the root account by default and having the only user have sudo privileges, just like Windows.

Re: Windows Notepad App Remote Code Execution Vulnerability

#367
post #274
post #151

Earlier quoted context omitted.

The day calculator brought me to an MS Store login was the day I became a radical.

Mine was when they asked me to rate the calculator on the store.

Is it as good as Android's calculator?

https://chadnauseam.com/coding/random/calculator-app

https://dl.acm.org/doi/10.1145/2911981

https://dl.acm.org/doi/pdf/10.1145/2911981

https://github.com/LineageOS/android_packages_apps_ExactCalc...

https://medium.com/@jnebos/the-humble-android-calculator-4f1...

Re: Windows Notepad App Remote Code Execution Vulnerability

#368
post #7

"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." I didn't even know Notepad would render Markdown.

Notepad rendering other formats removes one of the specific reasons I use notepad: to strip the stupid formatting that all sorts of applications seem to want to attach to text these days. Notepad handily strips away all the custom link namings and formats that totally fuck the expected output of a simple copy and paste. That's a big part of the its magic: it's immunity to the choices of marketing teams and dud manage…

I don’t know if it works for windows but on other operating systems if you hold shift while pasting it strips the special formatting. I don’t have a windows machine readily available but I hope even if it doesn’t work there this will be useful to other people reading the comment. I agree though. Basically the only format I ever want to keep is _sometimes_ the link with text. And even then usually not the exact coloring/indicators.

Re: Windows Notepad App Remote Code Execution Vulnerability

#369

Earlier quoted context omitted.

> It is to do with link handling: Notepad? Link handling? That's like my pencil having a CVE that's to do with how it loads the ink. That old saying about 'if Microsoft built a car' is more true now than it was then: https://www.snopes.com/fact-check/car-balk/

Unpopular opinion: rudimentary Markdown support is not entirely far-fetched even for a dumb text editor. Even though I’m all against feature bloat, I think that making Markdown hyperlinks clickable is still within the Overton window of what a simple editor should be doing.

Just... no... not notepad.. Notepad should be the single-simplest of text editors, always has been, always should be... it should be "safe" much like "task manager" it should be as simple and bulletproof as any application in Windows are... these are essential tools that should never, ever, ever break.

MS has WordPad... fck around with that to make it support markdown or whatever else beyond rtf you want it to support. For that matter, it's probably that much more appropriate to do so.

Do I typically use Notepad, no.. not really... I actually use the new rust based edit terminal app more than Notepad. That said, I expect notepad to do one thing... edit text files, and to not break doing so. The ONLY* addition that might be acceptable would be a HEX Editor mode, so you can edit any file.

There are maybe 5-7 applications in Windows I expect to never break... task manager, notepad, registry editor, file explorer, command prompt are at the top of that list... these are the golden tools that should never fail, even if everything else does.

Re: Windows Notepad App Remote Code Execution Vulnerability

#370
post #337
post #50

Earlier quoted context omitted.

Well technically Unixes like Linux are a mountain of legacy and they are fine. Windows is just a mountain of shit.

> a mountain of legacy and they are fine. telnetd CVE-2026-24061. It's embarrassingly simple exploit but took years to be discovered. > When telnetd invokes /usr/bin/login, it passes the USER value directly. If an attacker sets USER=-f root and connects using telnet -a or --login, the login process interprets -f root as a flag to bypass authentication, granting immediate root shell access.

Well yeah, but nobody sane still uses telnetd.
Post reply on HN