Improper access control in message routing in Odoo Community 12.0 and earlier and Odoo Enterprise 12.0 and earlier allows remote authenticated users to create arbitrary records via crafted payloads, which may allow 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-2018-15645

**Affects**: Odoo 12.0 and earlier (Community and Enterprise Editions)
**CVE ID**: [CVE-2018-15645](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-15645)
**Component**: Discuss
**Credits**: Nils Hamerlinck (Trobz)

Improper access control in message routing in Odoo Community 12.0 and earlier
and Odoo Enterprise 12.0 and earlier allows remote authenticated users
to create arbitrary records via crafted payloads, which may allow privilege
escalation.

## I.   Background

The Discuss modules handles discussions between users and provides for
discussion threads on business objects. Discuss messages can be sent via the
user interface or over email.


## II.  Problem Description

A programming error allowed unauthorized users to abuse the email processing
mechanism.


## III. Impact

**Attack Vector**: Network exploitable
**Authentication**: 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)

An attacker with a Portal user account could craft a special request to create
arbitrary record with chosen attributes. This could lead to privilege escalation.

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: fd77cc76c781ab48c242e5e7eb33616c7e741745
- 12.0: 5b6e8118a19ecbaf03a1b7bd700aab30f109950e
- 12.0-ent and 11.0-ent (Enterprise): see 12.0 and 11.0.

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

--- start body ---
# Security Advisory - CVE-2018-15645

**Affects**: Odoo 12.0 and earlier (Community and Enterprise Editions)
**CVE ID**: [CVE-2018-15645](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-15645)
**Component**: Discuss
**Credits**: Nils Hamerlinck (Trobz)

Improper access control in message routing in Odoo Community 12.0 and earlier
and Odoo Enterprise 12.0 and earlier allows remote authenticated users
to create arbitrary records via crafted payloads, which may allow privilege
escalation.

## I.   Background

The Discuss modules handles discussions between users and provides for
discussion threads on business objects. Discuss messages can be sent via the
user interface or over email.


## II.  Problem Description

A programming error allowed unauthorized users to abuse the email processing
mechanism.


## III. Impact

**Attack Vector**: Network exploitable
**Authentication**: 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)

An attacker with a Portal user account could craft a special request to create
arbitrary record with chosen attributes. This could lead to privilege escalation.

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: fd77cc76c781ab48c242e5e7eb33616c7e741745
- 12.0: 5b6e8118a19ecbaf03a1b7bd700aab30f109950e
- 12.0-ent and 11.0-ent (Enterprise): see 12.0 and 11.0.

--- end body ---

comments :
--- start comments ---

--- end comments ---