• BSNL router hacking and possibility of running custom code over it

    On a lonely weekend on my android, I was actually bored courtesy of BSNL, a connection that seldom connects, translates to AT&T of India, bad service, no customer support at 1957 and flapping issues in links. Nevertheless I decided to mess a bit with BSNL ADSL router.

    BSNL router on closer inspection is manufactured by SEMIndia and distributed by ITI. It follows the tracks of using firmware of different routers (Broadcom to be specific, BCM96338 stands for Broadcom router firmware version 96338, deployed in US robotics ones and some other popular routers). mine is DNA-A211-1 , one of most popular ones in India.

    What I did :
    • Accessed router
    • Found it ran busybox,
    • Explored it, getting access to passwords (CVS/router/admin).
    • Found which directories were writable
    • Wrote a file at writable area
    • Discussed the possibility of running code over it.
    • HTML pages that might be vulnerable to XSS/CSRF

    Observations -
    • Observation 1 # - code can be run over the router , but files must be copied using echo (-ne with append option) or tftp. Since busybox is there, we can easily insert a kernel module to be run.
    • Observation 2# - the webs directory has a lot of html files, maybe manipulated for xss attacks (i didnt covered it as its not my domain, some better guys can do it)
    • Observation 3# - private CVS credentials of Siemindia pserver. insider attack ? kidding. pserver is already much insecure, but since i have seen a lot of organisations using stock/easily guessable passwords for their outer router/firewalls/vpn servers, its not a tough nut to crack.
    • Observation 4# (most important) - BSNL SUCKS !

    original thread - Prohack

    best regards
    This article was originally published in blog: BSNL router hacking and possibility of running custom code over it started by rishabhd
  • G4H Twitter

  • Latest Posts

    GroundZeroS

    Open challenge to Design the logo for Ground Zero Summit

    Hello All!

    The GroundZero Summit (G0S) is an international platform for Information Security professionals showcasing their research, products and case studies to industry leaders, policy makers,...

    GroundZeroS Today, 12:26 PM Go to last post
    pragyaware

    Hi rohit nice to meet here!! I have also a keen...

    Hi rohit nice to meet here!! I have also a keen interest in this area. So i think i must gain some knowledge from you and you gain some knowledge from me regarding linux server

    pragyaware Yesterday, 11:47 AM Go to last post
    "vinnu"

    Yeh i need your help. I have a code that is...

    Yeh i need your help. I have a code that is dynamically generating objects to a browser and carrying all the mutations (dynamically). It takes huge time to crash browser. Tell me how to reduce the...

    "vinnu" Yesterday, 10:44 AM Go to last post
    b0nd

    Fixed. Thanks for notifying it Rahul. Text colour...

    Fixed. Thanks for notifying it Rahul. Text colour was the issue.

    b0nd Yesterday, 10:41 AM Go to last post
    b0nd

    Thanks Mr. GOD. Admins plz. move this post to...

    Thanks Mr. GOD. Admins plz. move this post to noobs section.

    b0nd Yesterday, 10:37 AM Go to last post