Skip to content

Log injection possible via incorrect RPC calls #945

Closed
@practicalswift

Description

@practicalswift

Issue and Steps to Reproduce

In terminal 1:

$ lightningd/lightningd
2018-02-07T14:22:25.698Z lightningd(13329): Server started with public key …, alias … (color #…) and lightningd v0.5.2-…

In terminal 2:

$ cli/lightning-cli foo "$(clear; echo "I've now taken over your log. Sorry about that."; \
      echo " "; echo " ")"
lightning-cli: reading response: Success

Back in terminal 1:

[screen cleared]
I've now taken over your log. Sorry about that.

 "] }'

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