Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security Audit of Noggin Code Complete #316

Closed
4 tasks
amoloney1 opened this issue Jul 20, 2020 · 5 comments
Closed
4 tasks

Security Audit of Noggin Code Complete #316

amoloney1 opened this issue Jul 20, 2020 · 5 comments
Assignees

Comments

@amoloney1
Copy link

amoloney1 commented Jul 20, 2020

The code for Noggin needs to be audited for potential security risks and passed before deployment to staging.

Acceptance Criteria:

  • The code is audited by a security personnel from Fedora
  • Any security issues with the code are found, reported to the Noggin team using a Security Audit label and then are fixed
  • The code passes all security reviews and signed off on

Definition of Done:

  • Code passes security checks
  • Installation Docs available
  • Security headers updates
  • Config notes reviewed

@puiterwijk Can you please action this request? Thank you kindly!

@puiterwijk
Copy link

I will try to schedule this soon, is there any deadline when this is wanted?
Additionally, how much flux can/should I still expect of the code, since a security audit is mostly useful after at least the security-sensitive code has stabilized somewhat.

@puiterwijk puiterwijk self-assigned this Jul 21, 2020
@abompard
Copy link
Member

The only big change in the code that is incoming is us using the non-legacy API of python_freeipa. That's going to change a lot of lines in a lot of files but it should end up in the exact same operations with FreeIPA, so I don't think it'll change much from a security point of view.
Apart from that, the code should be mostly done.

@amoloney1
Copy link
Author

amoloney1 commented Jul 30, 2020

Hi @puiterwijk would you have an estimate date on when you will be able to complete the security audit please? The team are hoping to deploy Noggin in Staging by Aug 10th so if we could get the code reviewed before then, time willing of course, that would be great!
And thanks @abompard for adding more information to this ticket also! :)

@puiterwijk
Copy link

puiterwijk commented Aug 12, 2020

For reference, the commit hashes currently under audit:

@puiterwijk
Copy link

puiterwijk commented Aug 12, 2020

According to the Fedora Infrastructure Application Security Policy, any deviations from the policy must be pointed out in the request for the security audit.
I cannot find any notes in this ticket to that extend, so I'm now adding that here:

The violated sections of the Application Security Policy and their justifications:

  • Authentication: noggin requires a token for direct access to IPA, and this is not possible with OpenID Connect. Additionally, there is no API in noggin.
  • Authorization: noggin doesn't use OpenID Connect per the previous justification

These justifications have been accepted as part of the security audit, so these sections will not apply to noggin for the purpose of this audit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Backlog
Development

No branches or pull requests

4 participants