Comments (2)
- Create course:
The course name is not validated that allows to inject a javascript query into the name field.
Steps to reproduce:
Instructor A creates a course with a script in course name as follows: <script>alert('CourseAlert');</script>
SOLUTION: add strip_tags() to sanitize course title
Another script in banner. <script>alert('BannerAlert');</script>
SOLUTION: won't fix. banner should allow JS.
Login as admin.
When you click on courses, the ‘CourseAlert’ pops up.
Every time the course profile is checked by the student, the ‘BannerAlert’ also pops up. Severity is high as admin could be attacked with a malicious script.
- File Upload in course
There are illegal file extensions mentioned where all the executable files are checked. But a file without any extension is accepted. This could be a binary executable file.
SOLUTION: added extention required
Filename - It is possible to mount a javascript into this variable. Filename is not validated.
File content - An attacker can write a malicious script into the file content and upload.
Steps to reproduce:
Instructor A goes to his course and then go to file storage.
Clicks on create a new file.
The file name is given as : <script>alert('File1');</script>
SOLUTION: required file extension fixes this
The file content is given as <script>alert('Filecontent');</script>
SOLUTION: won't fix this. script should be allowed in file content
Now a student/Admin logs in. As soon as a page displaying file name comes, the script File1 gets popped up even without clicking on it.
If the content is downloaded, the alert Filecontent pops up.
from atutor.
tracker URL
http://www.atutor.ca/atutor/mantis/view.php?id=5608
from atutor.
Related Issues (20)
- I can't install the ATutor database on ubuntu 20.04 HOT 1
- I got the following error while browsing courses with private, public and protected access.
- Reflected XSS HOT 1
- Upgrade requirements HOT 9
- Error while instlling HOT 1
- ATutor 2.2.1 Doesn't Detect MySQL on Ubuntu 16.04 with PHP 7 and MySQL 5.7 HOT 3
- ATutor 2.2.4 Install Step 2 Database Character set error HOT 3
- MySql code issue HOT 29
- Test scores/marks not showing HOT 15
- Test showing no questions available HOT 7
- Test with no questions HOT 4
- New Install Ver 2.2.4 Problem HOT 11
- How to change include path option HOT 1
- ! Security issue ! HOT 1
- Arbitrary Password Reset via password_reminder.php HOT 4
- Anyone using atutor
- ERROR_DB_QUERY
- SIGUE VIGENTE ATUTOR? HOT 1
- Javascript Enabled? Disabled
- Can anyone help me fix this error? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atutor.