GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Command injection lesson · Issue #1555 · WebGoat/WebGoat

Command injection lesson #1555

New issue
Copy link
New issue
Copy link
Closed
Closed
Command injection lesson#1555
Copy link

Description

@denandz
denandz
opened on Aug 7, 2023
Issue body actions

WebGoat doesn't include a simple command injection lesson any more, though older versions of WebGoat did. Was there a reason for no longer including an RCE lesson?

Activity

  1. github-actions commented on Aug 7, 2023

    @github-actions
    github-actionsBot
    on Aug 7, 2023
    Contributor
    More actions

    Thanks for submitting your first issue, we will have a look as quickly as possible.

  2. nbaars commented on Aug 8, 2023

    @nbaars
    nbaars
    on Aug 8, 2023
    Collaborator
    More actions

    There was a specific reason as we wanted to protect the users from not deleting their own complete file system.

    We had that in place in WG 7 we just never got around porting the lesson.

    If you like, feel free to submit a PR.

  3. denandz commented on Aug 8, 2023

    @denandz
    denandz
    on Aug 8, 2023
    Author
    More actions

    reaper-rce

  4. denandz commented on Aug 8, 2023

    @denandz
    denandz
    on Aug 8, 2023
    Author
    More actions

    In all seriousness though, given that WebGoat's current prefered installation method is via Docker and the general availability of free virtual machine hypervisor options, does this requirement for nerfing RCE labs still exist today?

    I noticed the deserialization lab is similarly de-fanged. Limiting a vulnerability in this way doesn't seem particularly realistic, and seems to deprive the WebGoat learners from some teachable moments around practically testing things like reverse-shells triggered from a vulnerable application sink. Or like you mention, accidentally crashing a server they're testing.

    Happy to submit a command-injection lesson, but I'm less comfortable submitting a defanged command-injection lesson that expects the learner to match a specific set of strings rather than achieve general RCE.

  5. nbaars commented on Aug 8, 2023

    @nbaars
    nbaars
    on Aug 8, 2023
    Collaborator
    More actions

    @denandz indeed I tend to agree. We had a limited version in WG 7 which felt a bit weird for the same reason you describe. We have some other lessons which only runs on Docker, so we can limit it Docker only.

  6. nbaars
    added 2 commits that reference this issue on Sep 23, 2026

    feat(command-injection): harden executable lesson

    This issue will close once commit fb2aaae is merged into the 'main' branch.
    fb2aaae

    fix(command-injection): parse Windows API key output

    This issue will close once commit cd341a0 is merged into the 'main' branch.
    cd341a0
  7. nbaars
    closed this as completedin c8ebd95on Oct 6, 2026
  8. fgibelin
    added a commit that references this issue on Oct 8, 2026

    feat(command-injection): harden executable lesson

    This issue will close once commit c8ebd95 is merged into the 'main' branch.
    c8ebd95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.