ID CVE-2017-9462
Summary In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and consequently execute arbitrary code, by using --debugger as a repository name.
References
Vulnerable Configurations
  • cpe:2.3:a:mercurial:mercurial:1.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.6.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.6.3:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.6.3:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.6.4:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.6.4:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.7.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.7.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.7.3:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.7.3:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.7.4:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.7.4:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.7.5:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.7.5:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.8.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.8.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.8.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.8.3:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.8.3:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.8.4:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.8.4:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.9.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.9.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.9.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.9.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.9.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:1.9.3:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:1.9.3:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.2.3:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.4.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.5.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.5.3:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.5.3:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.5.4:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.5.4:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.6.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.6.3:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.6.3:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.7.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.7.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.8.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.8.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.8.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.9.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.9.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.9.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:2.9.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:2.9.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.2.3:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.2.4:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.3.3:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.3.3:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.4.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.5.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.6.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.6.3:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.6.3:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.7.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.7.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.7.3:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.7.3:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.8.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.8.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.8.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.8.3:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.8.3:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.8.4:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.8.4:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.9.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.9.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.9.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:3.9.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:3.9.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:4.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:4.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:4.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:4.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:4.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:4.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:4.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:4.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:4.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:4.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mercurial:mercurial:4.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:mercurial:mercurial:4.1.2:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_eus:7.3:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.3:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
CVSS
Base: 9.0 (as of 05-02-2020 - 18:32)
Impact:
Exploitability:
CWE CWE-732
CAPEC
  • Session Fixation
    The attacker induces a client to establish a session with the target software using a session identifier provided by the attacker. Once the user successfully authenticates to the target software, the attacker uses the (now privileged) session identifier in their own transactions. This attack leverages the fact that the target software either relies on client-generated session identifiers or maintains the same session identifiers after privilege elevation.
  • Replace Binaries
    Adversaries know that certain binaries will be regularly executed as part of normal processing. If these binaries are not protected with the appropriate file system permissions, it could be possible to replace them with malware. This malware might be executed at higher system permission levels. A variation of this pattern is to discover self-extracting installation packages that unpack binaries to directories with weak file permissions which it does not clean up appropriately. These binaries can be replaced by malware, which can then be executed.
  • Cross Site Request Forgery
    An attacker crafts malicious web links and distributes them (via web pages, email, etc.), typically in a targeted manner, hoping to induce users to click on the link and execute the malicious action against some third-party application. If successful, the action embedded in the malicious link will be processed and accepted by the targeted application with the users' privilege level. This type of attack leverages the persistence and implicit trust placed in user session cookies by many web applications today. In such an architecture, once the user authenticates to an application and a session cookie is created on the user's system, all following transactions for that session are authenticated using that cookie including potential actions initiated by an attacker and simply "riding" the existing session cookie.
  • Hijacking a privileged process
    An attacker gains control of a process that is assigned elevated privileges in order to execute arbitrary code with those privileges. Some processes are assigned elevated privileges on an operating system, usually through association with a particular user, group, or role. If an attacker can hijack this process, they will be able to assume its level of privilege in order to execute their own code. Processes can be hijacked through improper handling of user input (for example, a buffer overflow or certain types of injection attacks) or by utilizing system utilities that support process control that have been inadequately secured.
  • Using Malicious Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Exploiting Incorrectly Configured Access Control Security Levels
    An attacker exploits a weakness in the configuration of access controls and is able to bypass the intended protection that these measures guard against and thereby obtain unauthorized access to the system or network. Sensitive functionality should always be protected with access controls. However configuring all but the most trivial access control systems can be very complicated and there are many opportunities for mistakes. If an attacker can learn of incorrectly configured access security settings, they may be able to exploit this in an attack. Most commonly, attackers would take advantage of controls that provided too little protection for sensitive activities in order to perform actions that should be denied to them. In some circumstances, an attacker may be able to take advantage of overly restrictive access control policies, initiating denial of services (if an application locks because it unexpectedly failed to be granted access) or causing other legitimate actions to fail due to security. The latter class of attacks, however, is usually less severe and easier to detect than attacks based on inadequate security restrictions. This attack pattern differs from CAPEC 1, "Accessing Functionality Not Properly Constrained by ACLs" in that the latter describes attacks where sensitive functionality lacks access controls, where, in this pattern, the access control is present, but incorrectly configured.
  • Signing Malicious Code
    The attacker extracts credentials used for code signing from a production environment and then uses these credentials to sign malicious content with the developer's key. Many developers use signing keys to sign code or hashes of code. When users or applications verify the signatures are accurate they are led to believe that the code came from the owner of the signing key and that the code has not been modified since the signature was applied. If the attacker has extracted the signing credentials then they can use those credentials to sign their own code bundles. Users or tools that verify the signatures attached to the code will likely assume the code came from the legitimate developer and install or run the code, effectively allowing the attacker to execute arbitrary code on the victim's computer.
  • Accessing Functionality Not Properly Constrained by ACLs
    In applications, particularly web applications, access to functionality is mitigated by an authorization framework. This framework maps Access Control Lists (ACLs) to elements of the application's functionality; particularly URL's for web apps. In the case that the administrator failed to specify an ACL for a particular element, an attacker may be able to access it with impunity. An attacker with the ability to access functionality not properly constrained by ACLs can obtain sensitive information and possibly compromise the entire application. Such an attacker can access resources that must be available only to users at a higher privilege level, can access management sections of the application, or can run queries for data that they otherwise not supposed to.
  • Privilege Abuse
    An adversary is able to exploit features of the target that should be reserved for privileged users or administrators but are exposed to use by lower or non-privileged accounts. Access to sensitive information and functionality must be controlled to ensure that only authorized users are able to access these resources. If access control mechanisms are absent or misconfigured, a user may be able to access resources that are intended only for higher level users. An adversary may be able to exploit this to utilize a less trusted account to gain information and perform activities reserved for more trusted accounts. This attack differs from privilege escalation and other privilege stealing attacks in that the adversary never actually escalates their privileges but instead is able to use a lesser degree of privilege to access resources that should be (but are not) reserved for higher privilege accounts. Likewise, the adversary does not exploit trust or subvert systems - all control functionality is working as configured but the configuration does not adequately protect sensitive resources at an appropriate level.
  • Directory Indexing
    An adversary crafts a request to a target that results in the target listing/indexing the content of a directory as output. One common method of triggering directory contents as output is to construct a request containing a path that terminates in a directory name rather than a file name since many applications are configured to provide a list of the directory's contents when such a request is received. An adversary can use this to explore the directory tree on a target as well as learn the names of files. This can often end up revealing test files, backup files, temporary files, hidden files, configuration files, user accounts, script contents, as well as naming conventions, all of which can be used by an attacker to mount additional attacks.
  • Reusing Session IDs (aka Session Replay)
    This attack targets the reuse of valid session ID to spoof the target system in order to gain privileges. The attacker tries to reuse a stolen session ID used previously during a transaction to perform spoofing and session hijacking. Another name for this type of attack is Session Replay.
Access
VectorComplexityAuthentication
NETWORK LOW SINGLE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
cvss-vector via4 AV:N/AC:L/Au:S/C:C/I:C/A:C
redhat via4
advisories
bugzilla
id 1459482
title CVE-2017-9462 mercurial: Python debugger accessible to authorized users
oval
OR
  • comment Red Hat Enterprise Linux must be installed
    oval oval:com.redhat.rhba:tst:20070304026
  • AND
    • comment Red Hat Enterprise Linux 7 is installed
      oval oval:com.redhat.rhba:tst:20150364027
    • OR
      • AND
        • comment emacs-mercurial is earlier than 0:2.6.2-7.el7_3
          oval oval:com.redhat.rhsa:tst:20171576001
        • comment emacs-mercurial is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20160706002
      • AND
        • comment emacs-mercurial-el is earlier than 0:2.6.2-7.el7_3
          oval oval:com.redhat.rhsa:tst:20171576003
        • comment emacs-mercurial-el is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20160706004
      • AND
        • comment mercurial is earlier than 0:2.6.2-7.el7_3
          oval oval:com.redhat.rhsa:tst:20171576005
        • comment mercurial is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20160706006
      • AND
        • comment mercurial-hgk is earlier than 0:2.6.2-7.el7_3
          oval oval:com.redhat.rhsa:tst:20171576007
        • comment mercurial-hgk is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20160706008
  • AND
    • comment Red Hat Enterprise Linux 6 is installed
      oval oval:com.redhat.rhba:tst:20111656003
    • OR
      • AND
        • comment emacs-mercurial is earlier than 0:1.4-5.el6_9
          oval oval:com.redhat.rhsa:tst:20171576010
        • comment emacs-mercurial is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20160706002
      • AND
        • comment emacs-mercurial-el is earlier than 0:1.4-5.el6_9
          oval oval:com.redhat.rhsa:tst:20171576011
        • comment emacs-mercurial-el is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20160706004
      • AND
        • comment mercurial is earlier than 0:1.4-5.el6_9
          oval oval:com.redhat.rhsa:tst:20171576012
        • comment mercurial is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20160706006
      • AND
        • comment mercurial-hgk is earlier than 0:1.4-5.el6_9
          oval oval:com.redhat.rhsa:tst:20171576013
        • comment mercurial-hgk is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20160706008
rhsa
id RHSA-2017:1576
released 2017-06-27
severity Important
title RHSA-2017:1576: mercurial security update (Important)
rpms
  • emacs-mercurial-0:1.4-5.el6_9
  • emacs-mercurial-0:2.6.2-7.el7_3
  • emacs-mercurial-el-0:1.4-5.el6_9
  • emacs-mercurial-el-0:2.6.2-7.el7_3
  • mercurial-0:1.4-5.el6_9
  • mercurial-0:2.6.2-7.el7_3
  • mercurial-debuginfo-0:1.4-5.el6_9
  • mercurial-debuginfo-0:2.6.2-7.el7_3
  • mercurial-hgk-0:1.4-5.el6_9
  • mercurial-hgk-0:2.6.2-7.el7_3
refmap via4
bid 99123
confirm
debian DSA-3963
gentoo GLSA-201709-18
mlist [debian-lts-announce] 20180705 [SECURITY] [DLA 1414-1] mercurial security update
Last major update 05-02-2020 - 18:32
Published 06-06-2017 - 21:29
Last modified 05-02-2020 - 18:32
Back to Top