697
another CVE (lemmy.nz)
top 50 comments
sorted by: hot top new old
[-] some_guy@lemmy.sdf.org 37 points 6 days ago

For anyone who didn't see this when it made the rounds a couple weeks ago:

https://terminal2shell.com/

[-] DrunkAnRoot@sh.itjust.works 17 points 6 days ago

Good news it only affects the playstation 1 as you can see "export PS1"

[-] sjpwarren@programming.dev 6 points 6 days ago

the PS2 also was backward compatible so it might work there two.

[-] myotheraccount@lemmy.world 9 points 6 days ago
[-] smeenz 4 points 6 days ago* (last edited 6 days ago)

God damn it.. another 9.8 !

[-] MrShankles@reddthat.com 2 points 6 days ago

alias whoami="echo Groot"

[-] ZILtoid1991@lemmy.world 10 points 6 days ago

I really need to make a paper on my CVE called money2root (get root access by paying someone to give it to you).

[-] rizzothesmall@sh.itjust.works 3 points 6 days ago

I have one where you raise a support ticket with a justification and it works on like maybe 10% of all systems

[-] Taleya@aussie.zone 1 points 6 days ago

Pff. Everyone knows the true hack is bash

[-] Jakylla@jlai.lu 320 points 1 week ago
$ echo "Access granted."
Access granted.
[-] ThunderComplex@lemmy.today 174 points 1 week ago
[-] eager_eagle@lemmy.world 15 points 6 days ago

It's JSON Bourne Again SHell

[-] blx@piefed.zip 74 points 1 week ago

Fuck, it works on my machine. When can we expect a patch?

[-] polite_cat@lemmy.world 69 points 1 week ago

Have you read the full report?

You can work around the issue by removing the french language pack from your system.

[-] GeorgimusPrime@lemmy.world 8 points 1 week ago

4k remaster ftw

[-] wonderingwanderer@sopuli.xyz 4 points 6 days ago

You know the rules, and so do I

[-] slazer2au@lemmy.world 36 points 1 week ago

Holy crap, didn't expect it to go I to that much detail.

[-] daychilde@lemmy.world 28 points 1 week ago

echo "Patch installed."

[-] urushitan@kakera.kintsugi.moe 29 points 1 week ago

gork is this tru

[-] gnutrino@programming.dev 113 points 1 week ago

Dear god, when combined with terminal2shell this can compromise every Unix-like system ever created.

It all started with prompt2output... Who would have known

[-] A_A@lemmy.world 72 points 1 week ago

Layman explanation :
"PS1" is the primary shell prompt.
So, it is that which the linux operating system displays at the start of each line where you, the user, type a command.
Obtaining "#" as the prompt would normally indicate to the user that the next command is to be accepted as having "root privileges" (thought it could do whatever to the system) ... but in the above case, the "#" doesn't mean that ... nor anything other than : that prompt as been changed.

[-] diaphragmwp@discuss.tchncs.de 13 points 1 week ago* (last edited 1 week ago)

Ah yes, the linux operating system... It's actually usually Linux distros that display lots of things with colors, other unixes are usually just the hostname with $ or #. Identifies the machine and isn't distracting, just how I like it. Except for the part when I forget which dir I am in, of course.

thank goodness you can customize it

load more comments (10 replies)
[-] dbx12@programming.dev 55 points 1 week ago

I already found another one!

echo $USER prints my current user name. Once I do USER=root it shows im running as root. And I wasn't even asked for my sudo password! :O :O :O

[-] not_IO@lemmy.blahaj.zone 20 points 6 days ago
[-] dbx12@programming.dev 8 points 6 days ago

That seems like an adjacent vector, want to coop on the CVE?

[-] clb92@feddit.dk 1 points 5 days ago

Youre going to need a catchy name and a website for it as well. All the big CVEs have a website and a catchy name now.

[-] dbx12@programming.dev 1 points 13 hours ago

Let's call it shell2root, as it ~~was~~ is the style at the time.

[-] some_guy@lemmy.sdf.org 2 points 6 days ago

Pwned again!

[-] goferking0@lemmy.sdf.org 17 points 1 week ago

You joke but at work our security office mass reset passwords because they saw a list of users in the pwd file. Even after others pointed out it was just a list of usernames not their credentials AND that it couldn't be the actual credentials as we're an AD shop

They would definitely fall for that 😭

[-] dbx12@programming.dev 5 points 6 days ago
[-] daychilde@lemmy.world 5 points 1 week ago

Huh. It is worth bearing in mind not to trust $USER before doing something based on it, though, if that thing is important.

[-] dbx12@programming.dev 3 points 6 days ago

The interesting thing is that bash allows writing this variable. I would've expected it to be readonly for obvious reasons.

[-] poolcritter@pawb.social 1 points 6 days ago

USER is just an environment variable in the environment block like any other; even if Bash didn't allow changing it, any other program could.

[-] daychilde@lemmy.world 1 points 6 days ago

Right? And while Linux generally seems to let you shoot yourself in your foot if you'd really like to, things like --no-preserve-root mean they do put SOME guardrails out there. lol. $USER seems worth making immutable. heh

[-] saltnotsugar@lemmy.world 35 points 1 week ago

Looks like the hacker was exporting your PlayStation 1!!! Lock this place DOWN.

[-] AwesomeLowlander@cozyver.se 7 points 1 week ago

Would you steal a PlayStation?

load more comments (1 replies)

Neeeerrrrrrds!

[-] Kojichan@lemmy.world 5 points 1 week ago

So...

PROMPT=$P$G$_#

??

load more comments
view more: next ›
this post was submitted on 21 Nov 2026
697 points (98.5% liked)

Programmer Humor

34316 readers
1656 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS