Skip to content

security problem in debug modeΒ #8081

@magicode

Description

@magicode
  • v6.2.2:
  • x86_64 GNU/Linux:
  • Ubuntu 14.04.2 LTS:

I found a security problem that can be severe in debug mode

i run app in my server with --debug flag

node --debug app.js

check tcp listen

lsof -p <pid> -P 

and i see this line

node    13721 root   14u  IPv6 2273468957      0t0        TCP *:5858 (LISTEN)

i check it by curl from other server, like this. (i change my ipv6 address)

curl -g -6 http://[2a00:1450:4007:808::200e]:5858/

and i get this

Type: connect
V8-Version: 5.0.71.52
Protocol-Version: 1
Embedding-Host: node v6.2.2
Content-Length: 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions