Skip to content
This repository was archived by the owner on Feb 12, 2021. It is now read-only.
This repository was archived by the owner on Feb 12, 2021. It is now read-only.

SQL Injection #3

@marius00

Description

@marius00

Stacktrace:

DocDbDao::getDocumentById
  DocDbDao::readTodoItem
    TodoItemController::getTodoItemById

The getDocumentById method uses string concatenation instead of parameterized queries using SqlQuerySpec.

Exploitable via the getTodoItemById API.

The getTodoCollection and getTodoDatabase also uses string concatenation but using constant values.
While this is not exploitable as-is, It sets a bad example in showing developers "how to use cosmos".

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