Improper input validation in portal component in Odoo Community 12.0 and earlier and Odoo Enterprise 12.0 and earlier, allows remote attackers to trick victims into modifying their account via crafted links, leading to privilege escalation.
cpe:2.3:a:odoo:odoo:*:*:*:*:community:*:*:*
A958BCBB-C656-44A5-A9A9-66A66AEA67A0
12.0
cpe:2.3:a:odoo:odoo:*:*:*:*:enterprise:*:*:*
059733D6-977F-4731-BA24-36F6F50F76AB
12.0
OR
# Security Advisory - CVE-2019-11781

**Affects**: Odoo 12.0 and earlier (Community and Enterprise Editions)
**CVE ID**: [CVE-2019-11781](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11781)
**Component**: Portal
**Credits**: "[iamsushi](https://github.com/sushiwushi)"

Improper input validation in portal component in Odoo Community 12.0 and earlier
and Odoo Enterprise 12.0 and earlier, allows remote attackers to trick
victims into modifying their account via crafted links, leading to privilege
escalation.

## I.   Background

Odoo includes a Portal feature, used to grant limited access to
non-employees (e.g. customers or suppliers). It is typically used
to let them see their orders, invoices, or support tickets.
This interface is accessible for both employees and external users.


## II.  Problem Description

A programming error allowed bypassing CSRF protection on the form to change
user details.


## III. Impact

**Attack Vector**: Network exploitable
**Authentication**: None
**CVSS3 Score**: Medium :: 6.5
**CVSS3 Vector**: [CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N](https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N)

An attacker could send a user a specially crafted link and trick
them into executing a request changing their details, allowing the
attacker to take over the victim's account.

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


## IV.  Workaround

There is no known workaround, 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: 70e8412502d17c4b70ea67e71032a48f8ba22f59
- 12.0: 4fcb7b6958098629c0077187cb4cbf238556fd3a
- 12.0-ent and 11.0-ent (Enterprise): see 12.0 and 11.0.

[SEC] CVE-2019-11781 - Affects: Odoo 12.0 and earlier (Community an...
This is a GitHub Issue
repo:odoo
owner:odoo
Title : [SEC] CVE-2019-11781 - Affects: Odoo 12.0 and earlier (Community an...
Issue date:

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

**Affects**: Odoo 12.0 and earlier (Community and Enterprise Editions)
**CVE ID**: [CVE-2019-11781](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11781)
**Component**: Portal
**Credits**: "[iamsushi](https://github.com/sushiwushi)"

Improper input validation in portal component in Odoo Community 12.0 and earlier
and Odoo Enterprise 12.0 and earlier, allows remote attackers to trick
victims into modifying their account via crafted links, leading to privilege
escalation.

## I.   Background

Odoo includes a Portal feature, used to grant limited access to
non-employees (e.g. customers or suppliers). It is typically used
to let them see their orders, invoices, or support tickets.
This interface is accessible for both employees and external users.


## II.  Problem Description

A programming error allowed bypassing CSRF protection on the form to change
user details.


## III. Impact

**Attack Vector**: Network exploitable
**Authentication**: None
**CVSS3 Score**: Medium :: 6.5
**CVSS3 Vector**: [CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N](https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N)

An attacker could send a user a specially crafted link and trick
them into executing a request changing their details, allowing the
attacker to take over the victim's account.

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


## IV.  Workaround

There is no known workaround, 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: 70e8412502d17c4b70ea67e71032a48f8ba22f59
- 12.0: 4fcb7b6958098629c0077187cb4cbf238556fd3a
- 12.0-ent and 11.0-ent (Enterprise): see 12.0 and 11.0.

--- end body ---

comments :
--- start comments ---

--- end comments ---