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 (SSTI) · Issue #410 · github/securitylab

Java : Add query to detect Server Side Template Injection (SSTI) #410

New issue
Copy link
New issue
Copy link
Closed
Closed
Java : Add query to detect Server Side Template Injection (SSTI)#410
Copy link
Labels
All For OneSubmissions to the All for One, One for All bounty

Description

@ghost
ghost
opened on Jul 21, 2021

CVE

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

Description

This is a continuation of the now closed issue #94.

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 :

  • Velocity Templating Engine
  • Freemarker Templating Engine
  • Pebble Templating Engine
  • Jinjava Templating Engine
  • MVEL Templating Engine
  • Thymeleaf Templating Engine

Link to the PR: github/codeql#5935

Activity

  1. ghost added
    All For OneSubmissions to the All for One, One for All bounty
    on Jul 21, 2021
  2. ghost changed the title [-][USERNAME]: [SUMMARY][/-] [+]Java : Add query to detect Server Side Template Injection (SSTI)[/+] on Jul 21, 2021
  3. antonio-morales commented on Jul 22, 2021

    @antonio-morales
    antonio-morales
    on Jul 22, 2021
    Contributor
    More actions

    Hi @porcupineyhairs

    in order to meet the new submission criteria, you need to support your submission with a CVE mapping (old or new) not previously covered by any existing CodeQL query. See https://securitylab.github.com/bounties for more details.

    Can you provide a valid result for this query?

    Regards,
    Antonio.

  4. ghsecuritylab commented on Nov 17, 2021

    @ghsecuritylab
    ghsecuritylab
    on Nov 17, 2021
    Collaborator
    More actions

    Your submission is now in status Query review.

    For information, the evaluation workflow is the following:
    Initial triage > Test run > Results analysis > Query review > Final decision > Pay > Closed

  5. antonio-morales commented on Nov 17, 2021

    @antonio-morales
    antonio-morales
    on Nov 17, 2021
    Contributor
    More actions

    @porcupineyhairs your submission is now in the last stage

  6. ghsecuritylab commented on Feb 23, 2022

    @ghsecuritylab
    ghsecuritylab
    on Feb 23, 2022
    Collaborator
    More actions

    Your submission is now in status Final decision.

    For information, the evaluation workflow is the following:
    Initial triage > Test run > Results analysis > Query review > Final decision > Pay > Closed

  7. ghsecuritylab commented on Feb 23, 2022

    @ghsecuritylab
    ghsecuritylab
    on Feb 23, 2022
    Collaborator
    More actions

    Your submission is now in status Pay.

    For information, the evaluation workflow is the following:
    Initial triage > Test run > Results analysis > Query review > Final decision > Pay > Closed

  8. xcorail commented on Feb 24, 2022

    @xcorail
    xcorail
    on Feb 24, 2022
    Contributor
    More actions

    Created Hackerone report 1490372 for bounty 370969 : [410] Java : Add query to detect Server Side Template Injection (SSTI)

  9. xcorail
    closed this as completedon Feb 24, 2022
  10. ghsecuritylab commented on Feb 24, 2022

    @ghsecuritylab
    ghsecuritylab
    on Feb 24, 2022
    Collaborator
    More actions

    Your submission is now in status Closed.

    For information, the evaluation workflow is the following:
    Initial triage > Test run > Results analysis > Query review > Final decision > Pay > Closed

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

    All For OneSubmissions to the All for One, One for All bounty

    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.