Earlier quoted context omitted.
"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." Well, except that this did not prevent it from having embarrassing bugs. Google "Bush hid the facts" for an example. I'm serious, you won't be disappointed. I think complexity is relative. At the time of the "Bush hid the facts" bug, nailing d…
Embarrassing bugs are not RCEs. Also the industry should be more mature now, not less. But move fast and break things, I guess...
Windows Notepad App Remote Code Execution Vulnerability
121–130 of 538 posts
Re: Windows Notepad App Remote Code Execution Vulnerability
#122I found a copy of the win98 (I believe) notepad.exe a while back, and it works perfectly on windows 11 (though the "about notepad" dialog shows the windows 11 version for some reason??). I can write text into it, save it, and load text again. What more does notepad need? And it has a very nostalgic font too
> (though the "about notepad" dialog shows the windows 11 version for some reason??) It's because the program just calls a Windows API to display the version dialog of Windows itself.
Re: Windows Notepad App Remote Code Execution Vulnerability
#123Earlier quoted context omitted.
You can Ctrl+shift+v to paste plain text in windows.
In some cases. In others, the application does whatever it wants.
Re: Windows Notepad App Remote Code Execution Vulnerability
#124Earlier quoted context omitted.
I couldn't agree more. A text editor exposing an attack surface via a network stack is precisely the kind of bloat that makes modern computing ultra-fragile. I actually built a "dumb" alternative in Rust last week specifically to escape this. It’s a local-only binary—no network permissions, encrypted at rest, and uses FIPS-compliant bindings (OpenSSL) just to keep the crypto boring and standard. It’s inspectable if y…
What does notepad need openssl for?
To meet FIPS 140-3, I can't roll my own crypto; I have to use a validated module.
I actually only link OpenSSL on Linux, and then only if it's in FIPS-mode. On Windows (CNG) and macOS (CoreCrypto), I use the native OS primitives to avoid the dependency and keep the binary small.
Re: Windows Notepad App Remote Code Execution Vulnerability
#125Earlier quoted context omitted.
"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." Well, except that this did not prevent it from having embarrassing bugs. Google "Bush hid the facts" for an example. I'm serious, you won't be disappointed. I think complexity is relative. At the time of the "Bush hid the facts" bug, nailing d…
I am pretty sure it's possible to fix that entire category of bugs without introducing RCE vulnerabilities.
Re: Windows Notepad App Remote Code Execution Vulnerability
#126Earlier quoted context omitted.
This was already better when the latest from MS was still called "* XP": https://liquidninja.com/metapad/
Wow that's a hit of nostalgia, I'd completely forgotten about metapad, but I loved it back in the day. And it's hard to believe now, but yes, support for Ctrl+S to save file was a notable feature because notepad itself didn't support that back then.
Re: Windows Notepad App Remote Code Execution Vulnerability
#127It looks like, after Microsoft discontinued WordPad, they want to implement more features into Notepad. If you want simple plain text editor you have to use msedit[1]. [1] https://github.com/microsoft/edit
Re: Windows Notepad App Remote Code Execution Vulnerability
#128Earlier quoted context omitted.
Win9x Notepad in particular can only load files up to 64KB in size (edit: and supports only ANSI encoding, no Unicode). There were some actually useful additions to it up until Windows 10 or so - for example being able to handle LF (in addition to CRLF) line endings. But yeah, everything added in Windows 11 is just pure bloat.
The reason being it is a plain text edit component, with a window around it, hence the limitation.
Re: Windows Notepad App Remote Code Execution Vulnerability
#129> 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. From https://msrc.microsoft.com/update-guide/vulnerability/CVE-20... (there are many collapsible elements on this page, and they're also just for term definitions, sigh) What a fucking terrible page for someone unfamiliar w…
> Anyway, it's not related to CoPilot, but because Notepad makes links clickable now... True, not related to CoPilot, but if I understand your conclusion right (which I'm not sure about), it's not _just_ that links are clickable now, it's because Notepad actually does something with the links. Otherwise it'd be a browser vulnerability, and Notepad couldn't seriously be blamed.
The actual RCE here would be in some other application that registers a URL handler. Java used to ship one that was literally designed to run arbitrary code.
Re: Windows Notepad App Remote Code Execution Vulnerability
#130> Windows Notepad
Disambiguation urgently needed.