Lucene search
K

OpenSchool Community Edition 2.2 XSS / Access Bypass

🗓️ 25 Jan 2015 00:00:00Reported by MahendraType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 28 Views

OpenSchool CE 2.2 XSS / Access Bypass, Advisory Timeline, Proof of Concept, Access control bypas

Related
Code
ReporterTitlePublishedViews
Family
0day.today
OpenSchool Community Edition 2.2 XSS / Access Bypass Vulnerabilities
27 Jan 201500:00
zdt
CNVD
Open-School Community Edition Cross-Site Scripting Vulnerability
7 Feb 202000:00
cnvd
CVE
CVE-2014-9126
8 Feb 202016:23
cve
CVE
CVE-2014-9127
8 Feb 202016:36
cve
Cvelist
CVE-2014-9126
8 Feb 202016:23
cvelist
Cvelist
CVE-2014-9127
8 Feb 202016:36
cvelist
EUVD
EUVD-2014-8951
7 Oct 202500:30
euvd
EUVD
EUVD-2014-8952
7 Oct 202500:30
euvd
NVD
CVE-2014-9126
8 Feb 202017:15
nvd
NVD
CVE-2014-9127
8 Feb 202017:15
nvd
Rows per page
`# Exploit Title: OpenSchool Community Edition (version 2.2) Multiple Vulnerabilities  
# Date: 25 January 2015  
# Exploit Author: Mahendra  
# Vendor Homepage: www.open-school.org  
# Software Link: http://sourceforge.net/projects/fiyo-cms/  
# Full version demo: http://www.tryopenschool.com  
# Version: 2.2  
# Tested : Kali Linux 1.0.9a-amd64  
# CVE(s): CVE-2014-9126, 2014-9127  
  
*Advisory Timeline*  
13 November 2014: Vulnerabilities reported to vendor  
14 November 2014: Vendor responded and details provided  
14 November 2014: Vendor acknowledged the vulnerabilities  
17 November 2014: Vendor fixed the vulnerabilities, except for XSS in CSRF tokens.  
25 January 2015: Advisory released  
  
----------------------------------------------------  
Stored XSS - 2014-9126  
----------------------------------------------------  
  
*Proof of Concept (PoC)*  
  
• Affected page: /index.php?r=students/studentDocument/create  
Affected parameter: StudentDocument[title][]  
Step to reproduce:  
1. Login as admin and select one of the students profile.  
2. In the profile page, select Documents and upload a new document.  
3. Name the document file as <script>alert(1)</script>  
4. The file will be saved and when the page is refreshed, the malicious javascript will be executed.  
  
• Affected page: /index.php?r=students/studentCategory/ajax_create  
Affected parameter: StudentCategories%5Bname%5D  
Step to reproduce:  
1. Login as admin > go to Students > Manage Student Categories > Create New Category  
2. Insert the malicious javascript <script>alert(1)</script> into the category name.  
3. Saved the category and observed the malicious script is executed.  
  
• Affected page: index.php?r=students/studentPreviousDatas/create&id=1  
Affected parameters:  
o StudentPreviousDatas%5Bcourse%5D  
o StudentPreviousDatas%5Binstitution%5D  
o StudentPreviousDatas%5Btotal_mark%5D  
o StudentPreviousDatas%5Byear%5D  
  
----------------------------------------------------  
Reflected XSS - 2014-9126  
----------------------------------------------------  
  
• Affected parameters: YII_CSRF_TOKEN cookie in the HTTP Header  
Step to reproduce: added the malicious javascript </script><script>alert(1)</script> in the YII_CSRF_TOKEN cookie header.  
  
http://192.168.248.129/osv2.2-CE/index.php?r=students/studentCategory&6b76b'-"</script><script>alert(1)</script>-'a29af=1  
  
http://192.168.248.129/osv2.2-CE/index.php?r=site/emanage&ename=&employeenumber=ccd51<script>alert(1)<%2fscript>d5927&Employees%5Bemployee_department_id%5D=&widget=&val=  
  
http://192.168.248.129/osv2.2-CE/index.php?r=site/emanage&ename=daa4c<script>alert(1)<%2fscript>97ab5&employeenumber=&Employees%5Bemployee_department_id%5D=&widget=&val=  
  
  
---------------------------------------------------------------------------------------------  
Access control bypass from student portal to access administration interface - CVE-2014-9127  
---------------------------------------------------------------------------------------------  
  
The application only allows the admin user to export students and employee database which contain personal information such as address and email address.  
  
Any students that have access to student portal can bypass the access control by directly visiting the export link.  
This functionality was not available in community edition and was tested on the demo version provided by Open-School team.  
Proof of concept:  
1. Login to student portal as students  
2. Go to http://tryopenschool.com/index.php?r=export  
3. Observe the export function is now accessible to students  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation