Skip to content

When viewing graphs, some input variables are not properly checked (SQL injection possible) #3025

Closed

Description

@cigamit

Describe the bug
As reported by Eldar Marcussen of xen1thLabs there is a SQL injection vulnerability in Cacti's graphs.php.

Expected behavior
Cacti should be not contain SQL vunderabilities

Activity

  1. added
    bugUndesired behaviour
    SECURITYA security issue reported through CVE
    on Oct 12, 2019
  2. added this to the v1.2.8 milestone on Oct 12, 2019
  3. added a commit that references this issue on Oct 12, 2019
  4. changed the title [-]SQL Injection in graphs.php[/-] [+]When viewing graphs, some input variables are not properly checked (SQL injection possible)[/+] on Dec 7, 2019
  5. carnil commented on Dec 10, 2019

    @carnil

    This was assigned CVE-2019-17357.

  6. hlef commented on Dec 29, 2019

    @hlef

    @cigamit do you have instructions for reproducing this issue?

    Looking at the source code, I am pretty sure that cacti v0.8.8h from Debian Stretch isn't affected, but I would still like to try reproducing the injection.

  7. netniV commented on Dec 30, 2019

    @netniV
    Member

    Just look for a similar section of code in the same php file from 0.8.8. If it uses it in the sQL statement without verifying the number is number, it is affected and needs the same patch.

  8. TheWitness commented on Jan 2, 2020

    @TheWitness
    Member

    It has no impact to 0.8.x.

  9. locked and limited conversation to collaborators on Jun 30, 2020
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

    SECURITYA security issue reported through CVEbugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions