当前位置:网站首页>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 .
边栏推荐
- 浅谈ThreadLocal和InheritableThreadLocal,源码解析
- Acwing game 56 [End]
- The sandbox has reached a cooperation with football player to bring popular football cartoons and animation into the metauniverse
- Analysis of open API design specification
- Decomposition - command injection
- C Scrollview scroll up or scroll down
- 配置ASMX无法访问
- vtk. JS left mouse button sliding to change window level and window width
- 81 sentences worth repeating
- Markdown learning
猜你喜欢
![Match 56 de la semaine d'acwing [terminé]](/img/f6/cd650331c819a27f17c9ce6cd0c569.png)
Match 56 de la semaine d'acwing [terminé]

PHP 文件包含 -ctf

浅谈ThreadLocal和InheritableThreadLocal,源码解析

Vulnhub | DC: 3 |【实战】

Learn to draw Er graph in an article

qt 不规则图形 消除锯齿

Tensorboard的使用

Acwing第 56 場周賽【完結】

Rotary table visual screening machine and its image recognition system

Deep learning ----- different methods to implement lenet-5 model
随机推荐
Openvino series 18 Real time object recognition through openvino and opencv (RTSP, USB video reading and video file reading)
qt 不规则图形 消除锯齿
Interview questions of a company in a certain month of a certain year (1)
QT project error: -1: error: cannot run compiler 'clang++' Output:mingw32-make. exe
Imperva- method of finding regular match timeout
Microsoft Exchange – prevent network attacks
看了5本书,我总结出财富自由的这些理论
11 字符串函数
Implementation principle and source code analysis of ThreadPoolExecutor thread pool
VTK. Le bouton gauche de la souris JS glisse pour changer le niveau et la largeur de la fenêtre
一秒钟查看一次文件,并将文件最后一行内容结果发送至syslog服务器
Ad object of Active Directory
Using jetpack datastore for data storage
Introduction to MySQL system tables
Deep learning ----- different methods to realize vgg16
Ers function display of SAP mm
SQL注入常用到的绕过方式-ctf
The sandbox has reached a cooperation with football player to bring popular football cartoons and animation into the metauniverse
@What is the difference between controller and @restcontroller?
Openvino series 19 Openvino and paddleocr for real-time video OCR processing