GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Kevin Beaumont (gossithedog@cyberplace.social)'s status on Wednesday, 21-Jan-2026 05:49:26 JST Kevin Beaumont Kevin Beaumont

    lol https://seclists.org/oss-sec/2026/q1/89

    The telnetd server invokes /usr/bin/login (normally running as root) passing the value of the USER environment variable received from the client as the last parameter.

    If the client supply a carefully crafted USER environment value being the string "-f root", and passes the telnet(1) -a or --login parameter to send this USER environment to the server, the client will be automatically logged in as root bypassing normal authentication processes.

    In conversation about 7 months ago from cyberplace.social permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: seclists.org
      SecLists.Org Security Mailing List Archive
      Security mailing list archive for the Nmap lists, Bugtraq, Full Disclosure, Security Basics, Pen-test, and dozens more. Search capabilities and RSS feeds with smart excerpts are available
    • Embed this notice
      Kevin Beaumont (gossithedog@cyberplace.social)'s status on Wednesday, 21-Jan-2026 05:56:14 JST Kevin Beaumont Kevin Beaumont
      in reply to

      Bug was introduced after this report https://lists.gnu.org/archive/html/bug-inetutils/2014-12/msg00012.html

      In conversation about 7 months ago permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        Re: [bug-inetutils] inetutils-telnet always prompt entering username eve
      Rich Felker repeated this.
    • Embed this notice
      Kevin Beaumont (gossithedog@cyberplace.social)'s status on Wednesday, 21-Jan-2026 06:12:10 JST Kevin Beaumont Kevin Beaumont
      in reply to

      For elder security greybeards, you may remember this is almost the exact same bug that Solaris introduced a decade before 🫡

      In conversation about 7 months ago permalink
    • Embed this notice
      Face Thumb (chrisp@cyberplace.social)'s status on Wednesday, 21-Jan-2026 06:55:17 JST Face Thumb Face Thumb
      in reply to

      @GossiTheDog I wonder if 3 letter agencies knew about this? And I wonder if they've used it against a handful of industrial sites over the years? And it is probably close to useless these days as most people have hopefully moved on to SSH and VPNs?

      In conversation about 7 months ago permalink
    • Embed this notice
      Rich Felker (dalias@hachyderm.io)'s status on Wednesday, 21-Jan-2026 09:14:15 JST Rich Felker Rich Felker
      in reply to

      @GossiTheDog No, that's the thing. It doesn't pass it "as the last parameter". Instead it wrongly pastes it into the end of a shell command string (and without proper quoting) and tells the shell to parse it as a command. If it psssed it properly as the last parameter everything would be fine.

      In conversation about 7 months ago permalink
    • Embed this notice
      Rich Felker (dalias@hachyderm.io)'s status on Wednesday, 21-Jan-2026 09:17:50 JST Rich Felker Rich Felker
      in reply to
      • Leon P Smith

      @leon_p_smith @GossiTheDog It's not difficult at all. One trivial way is putting ' at start and end after replacing every ' with '\''.

      In conversation about 7 months ago permalink
    • Embed this notice
      Leon P Smith (leon_p_smith@ioc.exchange)'s status on Wednesday, 21-Jan-2026 09:17:51 JST Leon P Smith Leon P Smith
      in reply to
      • Rich Felker

      @dalias @GossiTheDog my understanding is that "proper quoting" in a shell context is nigh impossible...

      In conversation about 7 months ago permalink
    • Embed this notice
      Rich Felker (dalias@hachyderm.io)'s status on Wednesday, 21-Jan-2026 09:21:27 JST Rich Felker Rich Felker
      in reply to
      • Leon P Smith

      @leon_p_smith @GossiTheDog But the right solution is not to paste at all. Instead invoke the shell as something like "sh", "-c", "expanded_command_here", "sh", [parameters here] and insead of expanding % codes directly in the expanded command, replacing them with "$1", "$2", etc. to pull the parameters.

      None of this is hard. It's something you should already know how to do right if you're invoking a shell from a potentially privileged context with data from another privilege domain. If you don't already know how to do it, you should not be touching software that runs in such a context.

      In conversation about 7 months ago permalink
    • Embed this notice
      Rich Felker (dalias@hachyderm.io)'s status on Wednesday, 21-Jan-2026 09:58:54 JST Rich Felker Rich Felker
      in reply to
      • Colin Watson
      • Leon P Smith

      @cjwatson @leon_p_smith @GossiTheDog The approach I described is as an array, not a string of shell input. The expanded command doesn't contain any of the variable input text, just positional references to it.

      In conversation about 7 months ago permalink
    • Embed this notice
      Colin Watson (cjwatson@mastodon.ie)'s status on Wednesday, 21-Jan-2026 09:58:55 JST Colin Watson Colin Watson
      in reply to
      • Rich Felker
      • Leon P Smith

      @dalias @leon_p_smith @GossiTheDog That's perhaps a mild improvement, but still leaves you open to shell mistakes. Far better is to construct the correct argv array directly, as an array and _not_ as a string of shell input.

      It is notable that the inetutils fix did not take this approach, but instead patches things up with (hopefully correct) argument sanitization. I'm not going to rag on people for making a mistake once, but after being bitten once they should really know better.

      In conversation about 7 months ago permalink
    • Embed this notice
      Rich Felker (dalias@hachyderm.io)'s status on Wednesday, 21-Jan-2026 10:00:15 JST Rich Felker Rich Felker
      in reply to
      • Colin Watson
      • Leon P Smith

      @cjwatson @leon_p_smith @GossiTheDog As an example to see how this works, run:

      sh -c 'echo "$1"' sh "foo bar"

      In conversation about 7 months ago permalink
    • Embed this notice
      Rich Felker (dalias@hachyderm.io)'s status on Wednesday, 21-Jan-2026 10:57:15 JST Rich Felker Rich Felker
      in reply to
      • Colin Watson
      • Leon P Smith

      @cjwatson @leon_p_smith @GossiTheDog It's needed because -E takes a shell command string with special substitutions (bad interface choice someone made long ago).

      In conversation about 7 months ago permalink
    • Embed this notice
      Colin Watson (cjwatson@mastodon.ie)'s status on Wednesday, 21-Jan-2026 10:57:17 JST Colin Watson Colin Watson
      in reply to
      • Rich Felker
      • Leon P Smith

      @dalias @leon_p_smith @GossiTheDog I'm well aware of how it works. But if you don't have to involve the shell (and I can't see why it would be needed in the case at hand - the templating arrangement doesn't need to be particularly flexible), why bother introducing unnecessary complexity?

      In conversation about 7 months ago permalink
    • Embed this notice
      Kevin Beaumont (gossithedog@cyberplace.social)'s status on Monday, 26-Jan-2026 23:22:51 JST Kevin Beaumont Kevin Beaumont
      in reply to

      The telnetd vuln has a CVE now - CVE-2026-24061

      Proof of concept: https://github.com/SafeBreach-Labs/CVE-2026-24061/blob/main/telnet_rce.py

      In conversation about 7 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
        CVE-2026-24061/telnet_rce.py at main · SafeBreach-Labs/CVE-2026-24061
        Exploitation of CVE-2026-24061. Contribute to SafeBreach-Labs/CVE-2026-24061 development by creating an account on GitHub.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.