sshnet / sshnet/SSH.NET

XML External Entity Injection

Open
#699 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
4.4k
Forks
993
Avg merge
9d 21h
Merged PRs (30d)
1

Description

NetConfClient and NetConfSessions are subject to XML External Entity Injection. Please disable XML entity resolving, here is an example that works:

ServerCapabilities = new XmlDocument();
ServerCapabilities.XmlResolver = null;

Thank you,

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate NetConfClient and NetConfSessions, then inspect where their XML documents are created or parsed. Use the reported ServerCapabilities example as the reference, and verify that XML entity resolving is disabled in both affected areas before considering the issue done.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.