当前位置:网站首页>WordPress plugin wpschoolpress 2.1.16 -'multiple'cross site scripting (XSS)
WordPress plugin wpschoolpress 2.1.16 -'multiple'cross site scripting (XSS)
2022-06-23 22:13:00 【Khan security team】
supply Business Homepage :https://wpschoolpress.com/
Software link :https://wpschoolpress.com/free-download/
edition : The highest 2.1.17( Not included )
test :Ubuntu 20.04 over WordPress 5.8 and apache2
CVE:CVE-2021-24664
The plug-in uses the name sanitize_text_field() Of wordpress Built in functions clean up some fields , But they were not correctly escaped before the attributes were output , Cause storage cross site scripting problems . function wp_sanitize_text_field() escape < and > But no escape image " Such characters , Allow attackers to destroy HTML Enter the tag and inject any javascript.
Proof of concept :
As Administrator
- Add new teacher attendance (/wp-admin/admin.php?page=sch-teacherattendance), Check the absence box and put the following payloads into the reason :“style=animation-name:rotation onanimationstart=alert(/XSS /)// By clicking “ add to ” Button to add other teachers' attendance will trigger XSS - Add a new student attendance (/wp-admin/admin.php?page=sch-attendance), Check the absence box and put the following payloads into the reason :" style=animation-name:rotation onanimationstart=alert(/XSS /)// By clicking “ add to / to update ” Button to add another attendance will trigger XSS
- Add a new topic tag field (/wp-admin/admin.php?page=sch-settings&sc=subField) And put the following payload into “ Field ”:“ autofocus onfocus=alert(/XSS/)// When you edit the created theme tag, it will trigger XSS( namely /admin.php?page=sch-settings&sc=subField&ac=edit&sid=3)
- Create a new theme (/wp-admin/admin.php?page=sch-subject), Include the following payload in the topic name field :“ autofocus onfocus=alert(/XSS/)// When you edit a topic XSS
- Create a new exam using the following payload in the exam name field (/wp-admin/admin.php?page=sch-exams):“ autofocus onfocus=alert(/XSS/)// edit Exam=20 Will trigger XSS
Please note that , Some of them XSS Questions can be asked by teachers ( Moderately privileged user ) perform , But because of wordpress Use HTTPonly cookie, So it is impossible to steal cookie.
边栏推荐
- Tencent cloud database tdsql elite challenge Q & A (real-time update)
- Smart cockpit SOC competition upgraded, and domestic 7Nm chips ushered in an important breakthrough
- How does the fortress remote login server operate? What is the application value of Fortress machine?
- How to select Poe, poe+, and poe++ switches? One article will show you!
- Code implementation of CAD drawing online web measurement tool (measuring distance, area, angle, etc.)
- How does the API gateway intercept requests? How does the security of the API gateway reflect?
- [log service CLS] one click to start the efficient operation and maintenance journey of Tencent E-Sign
- How to deploy the API gateway? Is it OK not to use the API gateway?
- Using h5ai to build Download Station
- How to control the quality of omics research—— Mosein
猜你喜欢

北大、加州伯克利大學等聯合| Domain-Adaptive Text Classification with Structured Knowledge from Unlabeled Data(基於未標記數據的結構化知識的領域自適應文本分類)

Error running PyUIC: Cannot start process, the working directory ‘-m PyQt5. uic. pyuic register. ui -o

《阿里云天池大赛赛题解析》——O2O优惠卷预测

HDLBits-&gt; Circuits-&gt; Arithmetic Circuitd-&gt; 3-bit binary adder

从CVPR 2022看域泛化(Domain Generalization)最新研究进展

Teacher lihongyi from National Taiwan University - grade Descent 2

MySQL de duplication query only keeps one latest record

Freshman girls' nonsense programming is popular! Those who understand programming are tied with Q after reading

Configuring error sets using MySQL for Ubuntu 20.04.4 LTS

Installation and use of Minio
随机推荐
Tdsql elite challenge CVM voucher usage guide
The latest research progress of domain generalization from CVPR 2022
Some opinions on microservices
The transaction code mp83 at the initial level of SAP retail displays a prediction parameter file
Devops sharing: how to hold the meeting?
there can be only one auto column and it must be defined as a key
[emergency] log4j has released a new version of 2.17.0. Only by thoroughly understanding the cause of the vulnerability can we respond to changes with the same method
Meaning of the last seven digits of wider face
TDD development mode recommendation process
Teach you how to write a delay queue
Introduction to scikit learn machine learning practice
Use bcryptjs to encrypt the password
ACL2022 | MVR:面向开放域检索的多视角文档表征
2021-12-18: find all letter ectopic words in the string. Given two characters
[same origin policy - cross domain issues]
MySQL architecture SQL foundation 2
One article to help you understand automatic injection
Open source C # WPF control library -newbeecoder UI usage guide (I)
The most common usage scenarios for redis
How API gateway finds the role of microserver gateway in microservices