HexBrain

Browse / CVEs / CVE-2021-20114

CVE-2021-20114· tecnick / tcexam· CWE-425

TCExam <= 14.8.1 - Sensitive Information Exposure

highseverity
7.5CVSS score
6%likelihood of exploitation, next 30 days
93%of all CVEs are less likely
Readycheck to confirm it

When installed following the default/recommended settings, TCExam <= 14.8.1 allowed unauthenticated users to access the /cache/backup/ directory, which includes sensitive database backup files.

Impact

An attacker can gain access to sensitive information, potentially leading to unauthorized access or data leakage.

Fix

Upgrade TCExam to a version higher than 14.8.1 to mitigate the vulnerability.

How to confirm it

Send: GET {{BaseURL}}/cache/backup/
Positive when: contains "Index of /cache/backup" and "Parent Directory" and ".sql.gz" AND status 200

Run it with nuclei: nuclei -id CVE-2021-20114 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2021-20114

info:
  name: TCExam <= 14.8.1 - Sensitive Information Exposure
  author: push4d
  severity: high
  description: When installed following the default/recommended settings, TCExam <= 14.8.1 allowed unauthenticated users to access the /cache/backup/ directory, which includes sensitive database backup files.
  impact: |
    An attacker can gain access to sensitive information, potentially leading to unauthorized access or data leakage.
  remediation: |
    Upgrade TCExam to a version higher than 14.8.1 to mitigate the vulnerability.
  reference:
    - https://es-la.tenable.com/security/research/tra-2021-32?tns_redirect=true
    - https://nvd.nist.gov/vuln/detail/CVE-2021-20114
    - https://www.tenable.com/security/research/tra-2021-32
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2021-20114
    cwe-id: CWE-425
    epss-score: 0.05973
    epss-percentile: 0.93359
    cpe: cpe:2.3:a:tecnick:tcexam:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: tecnick
    product: tcexam
  tags: cve,cve2021,tcexam,disclosure,exposure,tenable,tecnick,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/cache/backup/"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Index of /cache/backup"
          - "Parent Directory"
          - ".sql.gz"
        condition: and

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from