Improper access control in Odoo Community 14.0 and earlier and Odoo Enterprise 14.0 and earlier, allows remote authenticated users with access to contact management to modify user accounts, leading to privilege escalation.
cpe:2.3:a:odoo:odoo:*:*:*:*:community:*:*:*
2DBCA075-326A-4F0F-89B9-1437744D0FFC
14.0
cpe:2.3:a:odoo:odoo:*:*:*:*:enterprise:*:*:*
70406DFC-3BE1-46D3-BDDA-47D2156733D9
14.0
OR
# Security Advisory - CVE-2019-11782

**Affects**: Odoo 14.0 and earlier (Community and Enterprise Editions)
**CVE ID**: [CVE-2019-11782](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11782)
**Component**: Portal
**Credits**: Damien LESCOS

Improper access control in Odoo Community 14.0 and earlier and Odoo Enterprise
14.0 and earlier, allows remote authenticated users with access to contact
management to modify user accounts, leading to privilege escalation

## I.   Background

Odoo includes a Portal feature, used to grant a limited access to
customers and suppliers. It is typically used to let them see
their orders, invoices, or support tickets.

The Portal module that provides this feature comes with a "Portal Access
Management" wizard that can be used by employees with limited privileges
(such as Sales Representatives) to grant portal access to their customers.


## II.  Problem Description

Insufficient validation of wizard parameters could allow unprivileged
users to modify other users.


## III. Impact

**Attack Vector**: Network exploitable
**Authentication**: Employee / Internal User account required
**CVSS3 Score**: High :: 8.1
**CVSS3 Vector**: [CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N](https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N)

A malicious employee / internal user with access to contact management
could craft a special request to modify the contact information of
another user. This could be used to take over the victim's account,
and lead to privilege escalation.

Odoo S.A. is not aware of any use of this vulnerability in the wild.


## IV.  Workaround

For version 14.0, administrators may mitigate the problem by blocking
access to the "Portal User Config" model (`portal.wizard.user`) to
non-administrators, by removing the "Create" and "Write" permissions.
This technique will not work for previous versions.

Applying the patches is strongly recommended.

Odoo Cloud servers have been patched as soon as the correction was available.


## V.   Solution

Apply the patches corresponding to your Odoo installation, or upgrade
to the latest revision, either via GitHub or by downloading the
latest version from https://www.odoo.com/page/download
or http://nightly.odoo.com

To apply the patch, change into the main directory of your Odoo
installation (the one containing "openerp" and "addons" directories),
then execute the patch command, typically:

       patch -p0 -f < /path/to/the_patch_file.patch

This command assumes your installation layout corresponds to
the latest source code layout of the Odoo project on GitHub.
If your installation differs, please extract the various patch
hunks from the files and apply them in the appropriate locations.


## VI.  Correction details

The following list contains the revisions after which the vulnerability
is corrected:

- 11.0: ec541ced9c58e9d45e4dbc331336eb16e8f1d84e
- 12.0: e56c5f43a55150a7127d441a3b607097e7cec831
- 13.0: c4462a44f6b2fc08beaff8049c247f7756ef045e
- 14.0: c0964b3f54d2be8c8c5acda46c4203c8d18e88ab
- 14.0-ent, 13.0-ent, 12.0-ent and 11.0-ent (Enterprise): see 14.0, 13.0,
  12.0 and 11.0.
[SEC] CVE-2019-11782 - Affects: Odoo 14.0 and earlier (Community an...
This is a GitHub Issue
repo:odoo
owner:odoo
Title : [SEC] CVE-2019-11782 - Affects: Odoo 14.0 and earlier (Community an...
Issue date:

--- start body ---
# Security Advisory - CVE-2019-11782

**Affects**: Odoo 14.0 and earlier (Community and Enterprise Editions)
**CVE ID**: [CVE-2019-11782](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11782)
**Component**: Portal
**Credits**: Damien LESCOS

Improper access control in Odoo Community 14.0 and earlier and Odoo Enterprise
14.0 and earlier, allows remote authenticated users with access to contact
management to modify user accounts, leading to privilege escalation

## I.   Background

Odoo includes a Portal feature, used to grant a limited access to
customers and suppliers. It is typically used to let them see
their orders, invoices, or support tickets.

The Portal module that provides this feature comes with a "Portal Access
Management" wizard that can be used by employees with limited privileges
(such as Sales Representatives) to grant portal access to their customers.


## II.  Problem Description

Insufficient validation of wizard parameters could allow unprivileged
users to modify other users.


## III. Impact

**Attack Vector**: Network exploitable
**Authentication**: Employee / Internal User account required
**CVSS3 Score**: High :: 8.1
**CVSS3 Vector**: [CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N](https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N)

A malicious employee / internal user with access to contact management
could craft a special request to modify the contact information of
another user. This could be used to take over the victim's account,
and lead to privilege escalation.

Odoo S.A. is not aware of any use of this vulnerability in the wild.


## IV.  Workaround

For version 14.0, administrators may mitigate the problem by blocking
access to the "Portal User Config" model (`portal.wizard.user`) to
non-administrators, by removing the "Create" and "Write" permissions.
This technique will not work for previous versions.

Applying the patches is strongly recommended.

Odoo Cloud servers have been patched as soon as the correction was available.


## V.   Solution

Apply the patches corresponding to your Odoo installation, or upgrade
to the latest revision, either via GitHub or by downloading the
latest version from https://www.odoo.com/page/download
or http://nightly.odoo.com

To apply the patch, change into the main directory of your Odoo
installation (the one containing "openerp" and "addons" directories),
then execute the patch command, typically:

       patch -p0 -f < /path/to/the_patch_file.patch

This command assumes your installation layout corresponds to
the latest source code layout of the Odoo project on GitHub.
If your installation differs, please extract the various patch
hunks from the files and apply them in the appropriate locations.


## VI.  Correction details

The following list contains the revisions after which the vulnerability
is corrected:

- 11.0: ec541ced9c58e9d45e4dbc331336eb16e8f1d84e
- 12.0: e56c5f43a55150a7127d441a3b607097e7cec831
- 13.0: c4462a44f6b2fc08beaff8049c247f7756ef045e
- 14.0: c0964b3f54d2be8c8c5acda46c4203c8d18e88ab
- 14.0-ent, 13.0-ent, 12.0-ent and 11.0-ent (Enterprise): see 14.0, 13.0,
  12.0 and 11.0.
--- end body ---

comments :
--- start comments ---

--- end comments ---