Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Notices by kaniini (kaniini@mastodon.dereferenced.org), page 19

  1. kaniini (kaniini@mastodon.dereferenced.org)'s status on Friday, 02-Feb-2018 19:30:34 EST kaniini kaniini

    meanwhile... https://mastodon.dereferenced.org/media/KVfX3mnSBMLOo703RvI

    In conversation Friday, 02-Feb-2018 19:30:34 EST from mastodon.dereferenced.org permalink
  2. kaniini (kaniini@mastodon.dereferenced.org)'s status on Friday, 02-Feb-2018 17:08:41 EST kaniini kaniini
    • Crom, Kobold King

    @vahnj JUST SLIGHTLY UNDER 9000

    In conversation Friday, 02-Feb-2018 17:08:41 EST from mastodon.dereferenced.org permalink
  3. kaniini (kaniini@mastodon.dereferenced.org)'s status on Friday, 02-Feb-2018 16:35:17 EST kaniini kaniini

    i should note that i was fundamentally opposed to having the vtable in `mowgli.string`, but Pippijn was insistent that it was somehow convenient to have it.

    almost everyone just uses mowgli_string_foo functions with it anyway.

    hopefully these people remove the vtable when fixing the hole properly, because you get some really nice gadgets for crafting a ret2libc attack there :)

    In conversation Friday, 02-Feb-2018 16:35:17 EST from mastodon.dereferenced.org permalink
  4. kaniini (kaniini@mastodon.dereferenced.org)'s status on Friday, 02-Feb-2018 16:22:41 EST kaniini kaniini

    IRC is the land of mid 1990s exploitation vectors, because the entire mindset of the typical IRC developer is entirely wrong.

    In conversation Friday, 02-Feb-2018 16:22:41 EST from mastodon.dereferenced.org permalink
  5. Diane Bruce (dianora@octodon.social)'s status on Friday, 02-Feb-2018 16:07:27 EST Diane Bruce Diane Bruce
    in reply to
    • kaniini

    @kaniini Yes IRC sucks.

    In conversation Friday, 02-Feb-2018 16:07:27 EST from octodon.social permalink Repeated by kaniini
  6. kaniini (kaniini@mastodon.dereferenced.org)'s status on Friday, 02-Feb-2018 16:18:40 EST kaniini kaniini

    exploitation of CVE-2016-4478 is simple: generate an XMLRPC request that will generate exactly multiple of 64 bytes output,
    excluding the nul terminator.

    remember, this is a Pascal string used in the xmlrpc code because Trystan was smart and realized he should use Pascal strings when dealing with webshit.

    later on some fuckwit "optimized" the code by dumping the raw string instead of converting properly, and probably didn't notice because the scratch buffer saved him.

    (pascal strings are typically overallocated to ensure alignment and avoid spurious reallocs)

    once you have such a response, you will also get back the contents of the vtable.

    you can take it from there

    In conversation Friday, 02-Feb-2018 16:18:40 EST from mastodon.dereferenced.org permalink
  7. kaniini (kaniini@mastodon.dereferenced.org)'s status on Friday, 02-Feb-2018 16:13:03 EST kaniini kaniini

    so yeah, in case you didn't figure it out yet, if you are running atheme (any version), YOU ARE STILL VULNERABLE TO CVE-2016-4478

    DO NOT LISTEN TO UPSTREAM, THEY DO NOT KNOW WHAT THE FUCK THEY ARE DOING

    In conversation Friday, 02-Feb-2018 16:13:03 EST from mastodon.dereferenced.org permalink
  8. kaniini (kaniini@mastodon.dereferenced.org)'s status on Friday, 02-Feb-2018 16:10:56 EST kaniini kaniini
    • Pyrite

    @Pyrite

    Pascal strings are not nul-terminated, instead the length of the string is tracked.

    So when converting to C strings, you do something like this:

    *((char *) mempcpy(out, pascalstring.buf, pascalstring.len)) = 0;

    This gives you a properly converted string.

    In conversation Friday, 02-Feb-2018 16:10:56 EST from mastodon.dereferenced.org permalink
  9. kaniini (kaniini@mastodon.dereferenced.org)'s status on Friday, 02-Feb-2018 16:09:41 EST kaniini kaniini

    ok ok ok if you do not secure your xmlrpc and you're one of the poor souls who shows up on shodan.io when i search for "atheme" i am really sorry but because of these toots somebody probably is going to own your shit and it's going to be hilarious. just ask EFnet.

    In conversation Friday, 02-Feb-2018 16:09:41 EST from mastodon.dereferenced.org permalink
  10. kaniini (kaniini@mastodon.dereferenced.org)'s status on Friday, 02-Feb-2018 16:08:05 EST kaniini kaniini
    in reply to

    BUT KANIINI, STRNCPY WILL STOP COPYING AT XMLRPC_BUFSIZE. YES, SO WILL MEMCMP.

    NEITHER WILL TERMINATE THE BUFFER, AND BOTH WILL LEAK PRIVATE DATA FROM THE PASCAL STRING WHICH EXPOSES, AMONGST OTHER THINGS, A VTABLE.

    FHIUEWHIUFR@FHIUFIUFHIUFWHIUFWHIUFWHIUFWHIUFWHIUDFWHIUDFRHIUDFWHIUFWHIUDFHIUDFWHIUFHIUFFW

    I SHOULD HAVE LISTENED TO DIANORA WHEN I WAS YOUNG AND RAN THE FUCK AWAY FROM THIS SHIT

    In conversation Friday, 02-Feb-2018 16:08:05 EST from mastodon.dereferenced.org permalink
  11. kaniini (kaniini@mastodon.dereferenced.org)'s status on Friday, 02-Feb-2018 16:05:49 EST kaniini kaniini
    in reply to

    i gotta give them bonus points for swapping a memcpy with strncpy which was entirely pointless because both will happily crash you if there is no scratch buffer remaining.

    AND THEN THEY JUST PUT A NUL IN THE PASCAL STRING

    fuck it, y'all are on your own with this one.

    ARGH WHAT THE FUCKING FUCK

    the incompetence is really triggering me over here

    In conversation Friday, 02-Feb-2018 16:05:49 EST from mastodon.dereferenced.org permalink
  12. kaniini (kaniini@mastodon.dereferenced.org)'s status on Friday, 02-Feb-2018 16:00:37 EST kaniini kaniini

    since the "new atheme" idiots are busy playing serious business security embargo games, I figured out the vulnerability for the rest of us.

    they completely fucked up their mitigation of CVE-2016-4478, making it entirely pointless because THEY DID NOT UNDERSTAND PASCAL STRINGS ARE NOT THE SAME AS C STRINGS (good job guys, maximum security here)

    full analysis here:
    https://github.com/atheme/atheme/commit/87580d767868360d2fed503980129504da84b63e#r27301897

    IF YOU ARE RUNNING ATHEME CLOSE THE XMLRPC EXPOSURE BECAUSE THESE GUYS ARE TRUE MORONS THAT IS ALL

    or consider rm'ing your ircd, that also works well.

    In conversation Friday, 02-Feb-2018 16:00:37 EST from mastodon.dereferenced.org permalink

    Attachments

    1. Do not copy more bytes than were allocated ยท atheme/atheme@87580d7
      from GitHub
  13. kaniini (kaniini@mastodon.dereferenced.org)'s status on Thursday, 01-Feb-2018 02:16:16 EST kaniini kaniini

    enough talking about architectures that suck, lets talk about ARM

    In conversation Thursday, 01-Feb-2018 02:16:16 EST from mastodon.dereferenced.org permalink
  14. kaniini (kaniini@mastodon.dereferenced.org)'s status on Thursday, 01-Feb-2018 01:55:11 EST kaniini kaniini
    • Tek dba Tek

    @tek is it the one with the italian restaurant?

    In conversation Thursday, 01-Feb-2018 01:55:11 EST from mastodon.dereferenced.org permalink
  15. kaniini (kaniini@mastodon.dereferenced.org)'s status on Thursday, 01-Feb-2018 01:54:20 EST kaniini kaniini

    http://www.hiphopmeasure.com/embed/207513/

    In conversation Thursday, 01-Feb-2018 01:54:20 EST from mastodon.dereferenced.org permalink
  16. kaniini (kaniini@mastodon.dereferenced.org)'s status on Thursday, 01-Feb-2018 01:32:22 EST kaniini kaniini
    • Tek dba Tek

    @tek sure but sometimes it's suspicious when a kitchen is spotless. real kitchens are slightly messy (but obviously under control)

    In conversation Thursday, 01-Feb-2018 01:32:22 EST from mastodon.dereferenced.org permalink
  17. kaniini (kaniini@mastodon.dereferenced.org)'s status on Thursday, 01-Feb-2018 01:28:03 EST kaniini kaniini
    • Tek dba Tek

    @tek tbh there were episodes where things were too clean and he called them out on it

    In conversation Thursday, 01-Feb-2018 01:28:03 EST from mastodon.dereferenced.org permalink
  18. kaniini (kaniini@mastodon.dereferenced.org)'s status on Thursday, 01-Feb-2018 00:04:48 EST kaniini kaniini
    • newnix@exile.digital

    @newnix

    actually it is, `docs` is a virtual which tells the package manager you want all docs for all packages installed. you will soon also be able to do that with the -dev packages.

    In conversation Thursday, 01-Feb-2018 00:04:48 EST from mastodon.dereferenced.org permalink
  19. kaniini (kaniini@mastodon.dereferenced.org)'s status on Wednesday, 31-Jan-2018 22:44:34 EST kaniini kaniini
    • newnix@exile.digital

    @newnix

    if you use Alpine instead of Void, you can get manpages automatically installed by doing `apk add docs`

    In conversation Wednesday, 31-Jan-2018 22:44:34 EST from mastodon.dereferenced.org permalink
  20. kaniini (kaniini@mastodon.dereferenced.org)'s status on Wednesday, 31-Jan-2018 15:23:29 EST kaniini kaniini

    why does ARM have to remind me that ESR exists?

    https://mastodon.dereferenced.org/media/S8cWM369HWtyiO5Vlog

    In conversation Wednesday, 31-Jan-2018 15:23:29 EST from mastodon.dereferenced.org permalink
  • After
  • Before
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.