Found the error Not allowed to load local resource: file:///etc/passwd while looking at infosec.pub’s communities page. There’s a community called “ignore me” that adds a few image tags trying to steal your passwd file.

You have to be extremely poorly configured for this to work, but the red flags you see should keep you on your toes for the red flags you don’t.

  • 133arc585
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    1 year ago

    On a fresh install, my /etc/passwd is mode 644, owned by user and group root. Thus, any user can read it. Which is not necessarily a problem, since passwords are not stored in /etc/passwd. Not that leaking it is entirely benign, since it does generally reveal information about what services you have running.