what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

TCExam 12.2.5 Information Disclosure

TCExam 12.2.5 Information Disclosure
Posted Jan 17, 2016
Authored by Antonio Herraiz

TCExam versions 12.2.5 and below suffer from a correct answer information disclosure vulnerability.

tags | exploit, info disclosure
SHA-256 | d44c4a109fb5541895adbdc803ccc0ad4955bae92b276d6024337d49b857f441

TCExam 12.2.5 Information Disclosure

Change Mirror Download
---------------------------------------------------------

Correct answer Information Disclosure in TCExam <= 12.2.5
---------------------------------------------------------

[-] Software Link:

http://www.tcexam.org/

[-] Vendor description:

TCExam is a Open Source system for electronic exams (also know as CBA –
Computer-Based Assessment, CBT – Computer-Based Testing or e-exam) that enables
educators and trainers to author, schedule, deliver, and report on quizzes,
tests and exams. TCExam is currently the most commonly used Open Source CBA
Software in the world. TCExam users includes important universities, schools,
public and private companies.

[-] Affected Versions:

Version 12.2.5 and prior versions.

[-] Vulnerability Description:

An instance of information disclosure on TCExam allows test takers to predict
the right answer to questions as long as the right answer was inserted first
during test creation time, which is the suggested way to create tests in the
software guide. This vulnerability can lead to fraudulent test results.

The vulnerability exists because even though answers are placed randomly on the
test page, the "<input>" element for each multiple-choice answer has an "id"
attribute with a numeric value indicating in which position the answer was
created. Therefore the lowest "id" will always be the right answer, as long as
the right answer was added to the question first during test creation time.

[-] Proof of Concept:

HTML block showing how the right answer contains the lowest value for the "id"
attribute in the "<input>" element, in this case "answerid_9".

------------8<------------
Question: what's 2+2?

<ol class="answer">
<li><input name="answerid" id="answerid_11" value="11" type="radio">&nbsp;<label
for="answerid_11">Incorrect answer 2</label></li>
<li><input name="answerid" id="answerid_12" value="12" type="radio">&nbsp;<label
for="answerid_12">Incorrect answer 3</label></li>
<li><input name="answerid" id="answerid_10" value="10" type="radio">&nbsp;<label
for="answerid_10">Incorrect answer 1</label></li>
<li><input name="answerid" id="answerid_9" value="9" type="radio">&nbsp;<label
for="answerid_9">Four</label></li>
</ol>
------------>8------------

[-] Solution:

Vendor applied fix and released version 13.0.0 with
https://github.com/tecnickcom/tcexam/commit/8caf06e61a1f1f94850b5fd546a43baed85a3417

[-] Disclosure Timeline:

[12/11/2015] - Vendor notified
[12/12/2015] - Vendor applied fix
[01/15/2016] - Public disclosure

[-] Credits:

Antonio Herraiz (@antonioherraizs).

[-] Other References:

https://www.antonioherraizs.com/correct-answer-information-disclosure-in-tcexam.html


Login or Register to add favorites

File Archive:

July 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    27 Files
  • 2
    Jul 2nd
    10 Files
  • 3
    Jul 3rd
    35 Files
  • 4
    Jul 4th
    27 Files
  • 5
    Jul 5th
    18 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    28 Files
  • 9
    Jul 9th
    44 Files
  • 10
    Jul 10th
    24 Files
  • 11
    Jul 11th
    25 Files
  • 12
    Jul 12th
    11 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    28 Files
  • 16
    Jul 16th
    6 Files
  • 17
    Jul 17th
    34 Files
  • 18
    Jul 18th
    6 Files
  • 19
    Jul 19th
    34 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    19 Files
  • 23
    Jul 23rd
    17 Files
  • 24
    Jul 24th
    47 Files
  • 25
    Jul 25th
    0 Files
  • 26
    Jul 26th
    0 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close