Skip to content

Implement library(sandbox) Support - Criticial Security Issue #8

@damons

Description

@damons

First: I love this project, and I hope to help in some way. :)

The default installation instructions grant access to dangerous system predicates.

Once started, the web console allows access to file system predicates on the server. This allows things like:


?- rm('./TODO.md').
true.

?- ls.
apps/              debug.pl           load.pl            run.pl             server-key.pem     storage/           upstart/           nldaemon
.pl          lib/               passwd             server-cert.pem    server.pl          storage.pl         www/               
true.

...and it's gone. Not to mention, there's access to that passwd file and certs. :)

Also, calling listing/0 will spew the output on the server's console, which is another issue that may deserve a separate bug report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions