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 — Java : Add query to detect Server Side Template Injection · Issue #94 · github/securitylab

Java : Add query to detect Server Side Template Injection #94

New issue
Copy link
New issue
Copy link
Closed
Closed
Java : Add query to detect Server Side Template Injection#94
Copy link

Description

@ghost
ghost
opened on May 21, 2020

CVE

This query has not been tested against all lgtm projects. So, there is no CVE found using this PR.

Report

This query detects instances where user input is embedded in a template in an unsafe manner.

The PR adds support for multiple Java templating engines. As of now it covers

  1. Velocity Templating Engine
  2. Freemarker Templating Engine
  3. Pebble Templating Engine

I also plan on including the Jinjava Templating Engine

The PR is as of now a WIP. I can't get the unit tests to run properly as the stubs for the libraries are not yet included. I had raised this concern over slack a few days back but I haven't received any responses yet.

Link to the PR:[github/codeql#3353]

Activity

  1. ghost added
    All For OneSubmissions to the All for One, One for All bounty
    on May 21, 2020
  2. kevinbackhouse commented on Jan 14, 2021

    @kevinbackhouse
    kevinbackhouse
    on Jan 14, 2021
    Contributor
    More actions

    Hi @porcupineyhairs. It looks like this one hasn't made any progress since last year. Is it ok if I drop it from our bounty pipeline for now? You can resubmit it when it's ready.

  3. kevinbackhouse
    removed
    All For OneSubmissions to the All for One, One for All bounty
    on Jan 14, 2021
  4. ghsecuritylab commented on Jan 14, 2021

    @ghsecuritylab
    ghsecuritylab
    on Jan 14, 2021
    Collaborator
    More actions

    Your submission is now in status Closed.

    For information, the evaluation workflow is the following:
    CodeQL initial assessment > SecLab review > CodeQL review > SecLab finalize > Pay > Closed

  5. kevinbackhouse commented on Jan 14, 2021

    @kevinbackhouse
    kevinbackhouse
    on Jan 14, 2021
    Contributor
    More actions

    Ok, sounds good. Hopefully all you need to do is put the "All For One" label back on this issue when it's ready. If that doesn't trigger the process automatically then ping me and I'll take a look.

  6. smowton commented on Jul 20, 2021

    @smowton
    smowton
    on Jul 20, 2021
    More actions

    Per @pwntester please create a fresh application for this

  7. smowton
    closed this as completedon Jul 20, 2021
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 01402775 — 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.