this post was submitted on 09 Jul 2023
1369 points (99.9% liked)

Ask Lemmy

27027 readers
1111 users here now

A Fediverse community for open-ended, thought provoking questions

Please don't post about US Politics. If you need to do this, try !politicaldiscussion@lemmy.world


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] bleistift2@feddit.de 23 points 1 year ago (6 children)

cleartext usernames and passwords as the URI components of GET requests

I’m not an infrastructure person. If the receiving web server doesn’t log the URI, and supposing the communication is encrypted with TLS, which removes the credentials from the URI, are there security concerns?

[–] nudelbiotop@feddit.de 32 points 1 year ago* (last edited 1 year ago) (2 children)

Anyone who has access to any involved network infrastructure can trace the cleartext communication and extract the credentials.

[–] walkwalkwalkwalk@feddit.uk 6 points 1 year ago (1 children)

What do you mean by any involved network infrastructure? The URI is encrypted by TLS, you would only see the host address/domain unless you had access to it after decryption on the server.

[–] apazzy@lemmy.world 9 points 1 year ago (1 children)

They said clear text, I would assume it's not https.

[–] walkwalkwalkwalk@feddit.uk 5 points 1 year ago* (last edited 1 year ago) (1 children)

The comment we are replying to is asking about a situation where there is TLS. Also using clear text values in the URI itself does not mean there wouldn't be TLS.

[–] apazzy@lemmy.world 2 points 1 year ago

When someone just says cleartext, I assume they mean transmission too.

OP replied confirming HTTP: https://lemmy.world/comment/1033128

[–] ItsMyFirstDay@lemmy.world 11 points 1 year ago (1 children)

I'm not 100% on this but I think GET requests are logged by default.

POST requests, normally used for passwords, don't get logged by default.

BUT the Uri would get logged would get logged on both, so if the URI contained @username:Password then it's likely all there in the logs

[–] SzethFriendOfNimi@lemmy.world 1 points 1 year ago

Get and post requests are logged

The difference is that the logged get requests will also include any query params

GET /some/uri?user=Alpha&pass=bravo

While a post request will have those same params sent as part of a form body request. Those aren’t logged and so it would look like this

POST /some/uri

[–] rtxn@lemmy.world 10 points 1 year ago (1 children)

Nope, it's bare-ass HTTP. The server software also connected to an LDAP server.

[–] tool@r.rosettast0ned.com 1 points 1 year ago

I don't even let things communicate on /30 networks via HTTP/cleartext...this whole thing is horrifying.

[–] netvor@lemmy.world 6 points 1 year ago

I would still not sleep well; other things might log URI's to different unprotected places. Depending on how the software works, this might be client, but also middleware or proxy...

[–] Archer@lemmy.world 3 points 1 year ago

supposing the communication is encrypted with TLS

I can practically guarantee you it was not

[–] nijave@lemmy.world 1 points 1 year ago

Browser history

Even if the destination doesn't log GET components, there could be corporate proxies that MITM that might log the URL. Corporate proxies usually present an internally trusted certificate to the client.