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

Flagging potential man-in-the-middle attack #291

Merged
merged 1 commit into from
Nov 13, 2021

Conversation

sabracrolleton
Copy link
Collaborator

@sabracrolleton sabracrolleton commented Nov 13, 2021

Postgresql discovered a potential security issue in its server and standard driver which might allow a potential man-in-the-middle attack while attempting to make an ssl connection. See
https://www.postgresql.org/about/news/postgresql-141-135-129-1114-1019-and-9624-released-2349/
for more details. Whilst Postmodern does not have this issue, after discussions with the Postgresql security team, we agreed to flag evidence of attempted attacks using this vector.

If Postmodern is trying to set up an ssl connection and unexpected extra data was received prior to an ssl connection being created, such unexpected extra data may indicate an attempted man-in-the-middle attack. With this commit, in such a situation, Postmodern will check the new cl-postgres exported variable on-evidence-of-man-in-the-middle-attack to determine its response. By default, this variable is set to :error. You can set the response to be a simple warning (by setting it to :warn) or you can set it to :ignore.

Postgresql discovered a potential security issue in its server and
standard driver which might allow a potential man-in-the-middle attack
while attempting to make an ssl connection. See
[https://www.postgresql.org/about/news/postgresql-141-135-129-1114-1019-and-9624-released-2349/](https://www.postgresql.org/about/news/postgresql-141-135-129-1114-1019-and-9624-released-2349/)
for more details. Whilst Postmodern does not have this issue, after
discussions  with the Postgresql security team, we agreed to flag
evidence of attempted attacks using this vector.

If Postmodern is trying to set up an ssl connection and
unexpected extra data was received prior to an ssl connection being
created, such unexpected extra data may indicate an attempted man-in-the-middle
attack. With this commit, in such a situation, Postmodern will check
the new cl-postgres exported
variable *on-evidence-of-man-in-the-middle-attack* to its response. By
default, this variable is set to :error. You can set the
response to be a simple warning (by setting it to :warn) or you can
set it to :ignore.
@sabracrolleton sabracrolleton merged commit dae8e12 into marijnh:master Nov 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant