I received this notification in my PBX but do not see any information on
Is there additional information somewhere?

    <type>Authentication Flaw</type>
    <discoveredby>PBXComplete -</discoveredby>
    <description>Potential user password bypass.</description>
    <changelog>2019-11-18: fixed</changelog>

Hey James,

Documentation should be available in the next day or so. It is an important fix though, so updating is strongly advised.

Matthew Fredrickson


Hello @mattf

We also received notification. We updated all servers this morning to version and

As we were finishing, we noticed that the servers now show they need updated again from version to and version to

We are in the process now of going back through all servers again. Are version and still vulnerable?

Can it be confirmed that version and are patched?
Thank you and should have the correct version of the fix in them.


Hi @mattf,

We had an extension compromised over the weekend, then only a day or so later we received notification that the patch had been applied automatically.

Is there anywhere that outlines what vulnerabilities were fixed?


So, just like the last time you had a security issue. the warning does not clear.

I to have this problem, I’ve updated it to the right version yet I’m still getting the same error

More details are now online at FreePBX Security Vulnerability SEC-2019-001.

In the systems I’ve touched, when I dismiss the dashboard warning it goes away and stays gone.

Why do I need to dismiss it after the update is applied?

The error goes away eventually, if you ignore it, so why can’t the update clear it?

Multiple systems. Run updates, click refresh on overview, error still shows. That is confusing.

Are the current ISO’s going to be updated to include this fix?

I know the security warning will still pop up but may prove nasty for new users that aren’t 100% on what they’re doing yet…

I think that’s a good suggestion. We’ll probably end up doing that next.

Matthew Fredrickson

Question for the developers:

In the early days of FreePBX, there were several vulnerabilities similar to this one, where a specially crafted request to a specific page in the admin tree could bypass authentication or run arbitrary code.

In version 2.x, the system was changed to replace the PHP-based logic with regular Apache digest authentication (htaccess / htpasswd). This is simpler, gets much more peer review than FreePBX, and has a good record of remaining secure.

Why was this switched back to use a custom login screen?

It is configurable:

“webserver” seems to give the most flexibility, in that it asks Apache to handle the authentication while the usermanager module does the authorization.

In that way you could use any Apache auth module, not just basicauth. Plug in a SSO service, or PAM and auth against your Linux password file, 2FA, etc…

“Apache digest authentication (htaccess / htpasswd)” was added a long time ago. It was never the default and it shouldn’t be. The custom login screen has always been the default. You can never logout from apache digest authentication.

It’s still an option if you wish to use it (as pointed out by Bill)… however.

The single issue with this is that you’d still be unable to logout


(The solution in the stack overflow is send a 401, problem there is the 401 is logged and picked up by fail2ban)

If it was the end/all/be/all you’d see facebook, google, linkedin, etc. using it. There’s a reason websites (FreePBX is a website) don’t use Digest Authentication.

Furthermore. When you use Digest Authentication you end up breaking many commercial modules of FreePBX. Namely Zulu. Zulu would break completely, so could contact manager images on your phone. The API module would also be useless. This is because all of these modules run through config.php. “Digest Authentication” locks down config.php.

If you want to enable it and you don’t use commercial modules and you don’t mind that you can essentially NEVER logout (there’s no session to clear!) and you don’t mind not being able to set your language in FreePBX or Locale and you are a hobbyist then go for it! :smiley:

** I spent a day trying to get Digest Authentication to work with FreePBX a couple of years ago, there are many issues with it.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.