Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #8820

Closed
Open
Created 10 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Possible Generic SQL Injection (blind, time based)

Closed

Possible Generic SQL Injection (blind, time based)

Created by: m-a-r-c-o

We use GitLab on a dedicated Debian 7 server within our research group at work. The company network is automatically scanned for vulnerabilities by a Nessus scanner. Some days ago this scanner found a possible vulnerability on our GitLab 7.7.1 (03087bf) installation:

Nessus Output:
Port: 443/tcp Using the GET HTTP method; Nessus found that :
 + The following resources may be vulnerable to blind SQL injection (time based) :
 + The 'utf8' parameter of the /git-docs-and-misc/sandbox/issues/3 CGI :    /git-docs-and-misc/sandbox/issues/3?_method=patch&utf8=%e2%9c%93%20AND%2  00%20IN%20(SELECT%20SLEEP(21))%20--%20
  -------- output --------
 <!DOCTYPE html>  <html lang='en'>  <head>  <meta charset='utf-8'>  <meta content='GitLab Community Edition' name='description'>  <title>  Git Docs and Misc / Sandbox |  GitLab  </title>  <link href="/assets/favicon-baaa14bade1248aa6165e9d34e7d83c0.ico"  [...]  [...] 
 ------------------------

My Ruby/Rails skills are currently very limited so I don't feel like I'm able to solve this on my own. Is here anybody who can check if this is a real problem or a false positive?

Linked issues
0


  • Administrator
    Administrator @root · 10 years ago
    Owner

    Created by: Razer6

    /cc @dosire @randx @maxlazio

    By Administrator on 2015-02-19T10:28:32 (imported from GitLab project)

  • Administrator
    Administrator @root · 10 years ago
    Owner

    Created by: DouweM

    Definitely a false positive. The utf8 parameter is internal to Rails and not used for anything DB related by Rails or GitLab.

    By Administrator on 2015-02-19T11:39:25 (imported from GitLab project)

  • Administrator
    Administrator @root · 10 years ago
    Owner

    Created by: dosire

    Just a side note, please report verified potential security problems responsibly via https://about.gitlab.com/disclosure/

    This maybe case from your scanner doesn't look like one, but feel free to email us if you have more detailed information.

    Thanks for helping to improve GitLab.

    By Administrator on 2015-02-19T21:50:40 (imported from GitLab project)

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
None
Assign to
Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Due date
None
None
0
Labels
None
Assign labels
  • No matching results
  • Manage project labels
Confidentiality
Not confidential
Not confidential

You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

Lock issue
Unlocked
1
1 participant
user avatar
Reference: gpt/large_projects/gitlabhq1#8820

Menu

Projects Groups Snippets
Help