当前位置:网站首页>Moodle e-learning platform fixes the session hijacking error that leads to pre authorized rce
Moodle e-learning platform fixes the session hijacking error that leads to pre authorized rce
2022-06-23 08:08:00 【Khan security team】
A popular e-learning platform Moodle Session hijacking vulnerability in allows an attacker to commandeer any user's session and enable remote code execution (RCE).
last year , Maintainers of the open source platform have fixed this critical vulnerability , Thus protecting 241 A country's 2.13 Billion users and including shell 、 Microsoft and the London School of economics .
because “ Overused when configuring database session handlers PHP Of session_decode function ”, Unauthenticated flaws (CVE-2021-40691) Exist in Moodle Of Shibboleth Identity management plug-in .
The error depends on Moodle Enabled in Shibboleth Authentication .
These findings build on another preauthorization that researchers discovered in the same plug-in last year RCE above , The plug-in is triggered when the session is stored in a single file , This is the default configuration for new installations .
This bug, This is 2021 year 7 Monthly patch , This means that attackers can access student data and test papers , It may even manipulate exam results .
The researchers say , These two loopholes “ It all comes from trying to re - implement or destroy PHP Internal session mechanism of ”——“ Due to the complexity and pitfalls involved ”, This is an undesirable move .
Subsequent defects and logout_db_session() How functions are passed SOAP Each logout request received by the endpoint calls 、 Traverse all available database sessions and throw the session to session_decode Function about .
Researchers say , This decodes the serialized session data of the database , And fill with decoded data $_SESSION Super global variable —— Treat the attacker as a login with an active session per user for a fraction of a second .
Because the last session was not uninstalled ,$_SESSION It is still populated with the latest user session information . because session_decode, The session is assigned to the attacker's session cookie , Therefore, an attacker can refresh the page and hijack a random user session .
An attacker can log off to delete non administrator sessions from the database and repeat the attack , Until the administrator session surfaced —— Through the plug-in installer, you can RCE Pave the way .
This error affects version 3.11-3.11.2、3.10-3.10.6 and 3.9-3.9.9, And in 3.11.3、3.10.7 and 3.9.10 To be solved .
They are 2 month 21 Passed by Bugcrowd The error was committed , and On 9 month 12 in GitHub A patch has been released on .
边栏推荐
- Openvino series 19 Openvino and paddleocr for real-time video OCR processing
- Query on the performance of multi table view in MySQL
- 爬虫框架
- 11 字符串函数
- @What is the difference between controller and @restcontroller?
- 帆软堆积图显示占比
- 通过端口查文件
- On ThreadLocal and inheritablethreadlocal, source code analysis
- Sequence table Curriculum
- Rotary table visual screening machine and its image recognition system
猜你喜欢

A record of "from scratch" in college student accounts

PHP serialization and deserialization CTF

Ad object of Active Directory

Learn to draw Er graph in an article

Ignore overlength parameter violation

imperva-查找正则匹配超时的方法

记一次高校学生账户的“从无到有”

Does huangrong really exist?

某年某月某公司的面试题(1)

On ThreadLocal and inheritablethreadlocal, source code analysis
随机推荐
C# richTextBox控制最大行数
@What is the difference between controller and @restcontroller?
PHP serialization and deserialization CTF
Imperva- method of finding regular match timeout
深度学习------卷积(conv2D)底层
Rotary table visual screening machine and its image recognition system
vtk. JS left mouse button sliding to change window level and window width
What is edge cloud?
Apache Solr arbitrary file read replication
Vulnhub | DC: 4 |【实战】
Copy image bitmap by C # memory method
Vulnhub | DC: 3 |【实战】
Socket programming -- select model
How do I install MySQL on my computer?
Query on the performance of multi table view in MySQL
Implementation principle and source code analysis of ThreadPoolExecutor thread pool
A record of "from scratch" in college student accounts
深度学习------不同方法实现vgg16
Deep learning ----- different methods to realize vgg16
socket编程——select模型