Incorrect access control in the mail templating system in Odoo Community 11.0 and earlier and Odoo Enterprise 11.0 and earlier allows authenticated internal users to delete arbitrary menuitems via a crafted RPC request.
cpe:2.3:a:odoo:odoo:9.0:*:*:*:community:*:*:*
C3F9E8F1-FAF7-44AE-8D05-BE717D247EDE
cpe:2.3:a:odoo:odoo:9.0:*:*:*:enterprise:*:*:*
167C709E-C8B2-4CCB-963E-E1D8C664190A
cpe:2.3:a:odoo:odoo:10.0:*:*:*:community:*:*:*
C52F2EEB-11E5-49E8-AD06-3014FF2C2D24
cpe:2.3:a:odoo:odoo:10.0:*:*:*:enterprise:*:*:*
A4405E54-6C16-49D5-B632-3D72091B2FEB
cpe:2.3:a:odoo:odoo:11.0:*:*:*:community:*:*:*
38424B03-4121-4A79-8E4E-4CB4DCD3E4A5
cpe:2.3:a:odoo:odoo:11.0:*:*:*:enterprise:*:*:*
1298CF62-A06E-48AD-8141-0541DE3F6381
OR
# Security Advisory - ODOO-SA-2018-08-07-4
 Incorrect access control in the mail templating system in Odoo Community 11.0 and earlier and Odoo Enterprise 11.0 and earlier allows authenticated internal users to delete arbitrary menuitems via a crafted RPC request.

**Affects**: Odoo 9.0, 10.0, 11.0 (Community and Enterprise Editions)
**Component**: mail
**Credits**: Nils Hamerlinck (Trobz)
**CVE ID**: [CVE-2018-14862](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14862)


## I.   Background

Odoo's chatter engine allows users to create templates for commonly
used messages. To make it faster to use, the system allows template authors
to create a shortcut action to reuse the template.


## II.  Problem Description

The shortcut removal mechanism can be abused to remove other part of the
interface.


## III. Impact

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

A malicious employee could craft malicious RPC requests to cause the deletion
of arbitrary menu entries of the user interface.

While there is no loss of business data, removing the shortcut would make the
system very difficult to use, until repaired.

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


## IV.  Workaround

Restricting the create and write access to the mail.template model to trusted
users only is a way to mitigate the attack until the patch can be applied.

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


## V.   Solution

Apply the patches corresponding to your Odoo installation, or update to
the latest revision, either via GitHub or by downloading it:
https://www.odoo.com/page/download

For the actual update procedure, please refer to our update instructions, valid
for all versions:
  https://www.odoo.com/documentation/11.0/setup/update.html

If you choose to apply the patch instead, change into the main directory of
your Odoo installation (the one containing "odoo" 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:

- 9.0:  91486656ab584cbb7a1f48543ccfe37fb386d850
- 10.0: 2d32609440239bd284fd472851a5c7936aa516ed
- 11.0: 1e42cbc1f425d31bbc83f3994f3bd8836aa201a2
- 11.0-ent, 10.0-ent and 9.0-ent (Enterprise): see 11.0, 10.0 and 9.0.

[SEC] ODOO-SA-2018-08-07-4 (CVE-2018-14862) - Incorrect access control in the...
This is a GitHub Issue
repo:odoo
owner:odoo
Title : [SEC] ODOO-SA-2018-08-07-4 (CVE-2018-14862) - Incorrect access control in the...
Issue date:

--- start body ---
# Security Advisory - ODOO-SA-2018-08-07-4
 Incorrect access control in the mail templating system in Odoo Community 11.0 and earlier and Odoo Enterprise 11.0 and earlier allows authenticated internal users to delete arbitrary menuitems via a crafted RPC request.

**Affects**: Odoo 9.0, 10.0, 11.0 (Community and Enterprise Editions)
**Component**: mail
**Credits**: Nils Hamerlinck (Trobz)
**CVE ID**: [CVE-2018-14862](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14862)


## I.   Background

Odoo's chatter engine allows users to create templates for commonly
used messages. To make it faster to use, the system allows template authors
to create a shortcut action to reuse the template.


## II.  Problem Description

The shortcut removal mechanism can be abused to remove other part of the
interface.


## III. Impact

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

A malicious employee could craft malicious RPC requests to cause the deletion
of arbitrary menu entries of the user interface.

While there is no loss of business data, removing the shortcut would make the
system very difficult to use, until repaired.

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


## IV.  Workaround

Restricting the create and write access to the mail.template model to trusted
users only is a way to mitigate the attack until the patch can be applied.

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


## V.   Solution

Apply the patches corresponding to your Odoo installation, or update to
the latest revision, either via GitHub or by downloading it:
https://www.odoo.com/page/download

For the actual update procedure, please refer to our update instructions, valid
for all versions:
  https://www.odoo.com/documentation/11.0/setup/update.html

If you choose to apply the patch instead, change into the main directory of
your Odoo installation (the one containing "odoo" 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:

- 9.0:  91486656ab584cbb7a1f48543ccfe37fb386d850
- 10.0: 2d32609440239bd284fd472851a5c7936aa516ed
- 11.0: 1e42cbc1f425d31bbc83f3994f3bd8836aa201a2
- 11.0-ent, 10.0-ent and 9.0-ent (Enterprise): see 11.0, 10.0 and 9.0.

--- end body ---

comments :
--- start comments ---

--- end comments ---