LiveActive security incident?Get immediate response
CVE Record

CVE-2023-1061: SourceCodester Doctors Appointment System edit-doc.php sql injection

A vulnerability, which was classified as critical, has been found in SourceCodester Doctors Appointment System 1.0. This issue affects some unknown processing of the file /admin/edit-doc.php. The manipulation of the argument email/oldmail leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

MediumCVSS 6.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2023-1061 is a SQL injection flaw in SourceCodester Doctors Appointment System 1.0. An authenticated remote user could manipulate doctor-editing input and affect database confidentiality, integrity, and availability. Public exploit material exists, but the provided sources do not show confirmed active exploitation.

Executive priority

Treat this as a focused but real business risk if the application is deployed. Prioritize inventory and access restriction first, then determine whether vendor or local code remediation is available.

Technical view

The issue affects /admin/edit-doc.php in SourceCodester Doctors Appointment System 1.0. The email/oldmail arguments are reported to permit SQL injection. CVSS v2 is 6.5 with network access, low complexity, and single authentication required. The CVE maps to CWE-89 and CWE-74.

Likely exposure

Exposure is likely limited to organizations running SourceCodester Doctors Appointment System 1.0, especially where the admin area is reachable by untrusted users or weakly controlled accounts.

Exploitation context

The exploit has been publicly disclosed according to the source bundle. However, KEV is false and the cited material does not establish active exploitation in the wild.

Researcher notes

Sources identify authenticated remote SQL injection in edit-doc.php through email/oldmail. Public exploit material is referenced, but no source here confirms active exploitation or a vendor patch. Avoid assuming broader SourceCodester products are affected.

Mitigation direction

  • Identify any SourceCodester Doctors Appointment System 1.0 deployments.
  • Restrict access to the admin interface to trusted users and networks.
  • Check SourceCodester or project maintainers for update or patch guidance.
  • If maintaining code locally, remediate SQL injection with parameterized database access.
  • Review admin account hygiene and remove unnecessary privileged users.

Validation and detection

  • Confirm whether /admin/edit-doc.php exists in deployed instances.
  • Verify the deployed product and version match Doctors Appointment System 1.0.
  • Review application code handling email and oldmail database queries.
  • Check web and application logs for unusual admin edit-doc.php activity.
  • Confirm admin routes are not publicly reachable without authentication.
Prepared
Confidence
medium
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-74: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · medium confidence lookup

CWE-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2023-1061 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.5 (2.0)
Known Exploited
No
Published

Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
6Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.5CVSS 2.0MediumAV:N/AC:L/Au:S/C:P/I:P/A:P86.4Primary CVE score

Vulnerability scoring details

Base CVSS 2.0 score

6.5Medium
CVSS 2.0 vector shape for CVE-2023-1061Access VectorAccess ComplexityAuthenticationConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P

Access Vector
NetworkAdjacentLocal
Access Complexity
LowMediumHigh
Authentication
NoneSingleMultiple
Confidentiality Impact
CompletePartialNone
Integrity Impact
CompletePartialNone
Availability Impact
CompletePartialNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
SourceCodesterDoctors Appointment System1.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-74 · source CWE mapping

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-89 · source CWE mapping

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.