Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-1594

Select from table returns data even though user has no privs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • sql-security
    • None

    Description

      A user was able to select data from a table where the user had no privs.

      case:
      DB__ROOT created a schema on behalf of sql_user1.
      The following tables were created in this schema - games, teams, and players.

      sql_user1 granted select privilege to sql_user7 on table games.
      sql_user7 was able to select from both games and teams. sql_user7 was not able to select from players.

      Looking at the metadata indicated that sql_user7 indeed did not have privileges an table teams.

      When sql_user7 reconnected, they were not able to select from teams.

      The thought is that perhaps there was some stale cache in mxorsrv

      Attachments

        Activity

          People

            rmarton Roberta Marton
            rmarton Roberta Marton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: