Vulnerabilities > CVE-2013-2625 - Improper Privilege Management vulnerability in multiple products

047910
CVSS 6.4 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
NONE
network
low complexity
otrs
debian
opensuse
CWE-269
nessus

Summary

An Access Bypass issue exists in OTRS Help Desk before 3.2.4, 3.1.14, and 3.0.19, OTRS ITSM before 3.2.3, 3.1.8, and 3.0.7, and FAQ before 2.2.3, 2.1.4, and 2.0.8. Access rights by the object linking mechanism is not verified

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.

Nessus

  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2013-639.NASL
    descriptionThe ticket system OTRS was updated to 3.1.18 to fix various bugs and security issues. Update to 3.1.18 : - OSA-2013-05, CVE-2013-4717, CVE-2013-4718 fixed. - Fixed bug#9561 - ACL restriction with CustomerID for DynamicFields at new Ticket screen not working. - Fixed bug#9425 - Wrong created date for queue view. - Fixed bug#9125 - AgentTicketSearch dialog does not expand when choosing more search criteria. - Fixed bug#8273 - Copying text in preview mode not possible. - Fixed bug#9557 - Cannot see quoted text in customer ticket zoom. - Fixed bug#9011 - GenericInterface: New value after value mapping can
    last seen2020-06-05
    modified2014-06-13
    plugin id75111
    published2014-06-13
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/75111
    titleopenSUSE Security Update : otrs (openSUSE-SU-2013:1338-1)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update openSUSE-2013-639.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(75111);
      script_version("1.7");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04");
    
      script_cve_id("CVE-2013-2625", "CVE-2013-2637", "CVE-2013-3551", "CVE-2013-4088", "CVE-2013-4717", "CVE-2013-4718");
    
      script_name(english:"openSUSE Security Update : otrs (openSUSE-SU-2013:1338-1)");
      script_summary(english:"Check for the openSUSE-2013-639 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "The ticket system OTRS was updated to 3.1.18 to fix various bugs and
    security issues.
    
    Update to 3.1.18 :
    
      - OSA-2013-05, CVE-2013-4717, CVE-2013-4718 fixed.
    
      - Fixed bug#9561 - ACL restriction with CustomerID for
        DynamicFields at new Ticket screen not working.
    
      - Fixed bug#9425 - Wrong created date for queue view.
    
      - Fixed bug#9125 - AgentTicketSearch dialog does not
        expand when choosing more search criteria.
    
      - Fixed bug#8273 - Copying text in preview mode not
        possible.
    
      - Fixed bug#9557 - Cannot see quoted text in customer
        ticket zoom.
    
      - Fixed bug#9011 - GenericInterface: New value after value
        mapping can't be 0.
    
      - Improved parameter quoting in various places.
    
      - Fixed bug#9104 - Group permission for customer subset
        overwrites permissions for other customers.
    
      - Fixed bug#8719 - PasswordMin2Lower2UpperCharacters
        problem.
    
      - 3.1.17
    
      - Fixed OSA-2013-04, CVE-2013-4088.
    
      - Improved permission checks in AgentTicketWatcher.
    
      - Fixed bug#9503 - no connection header in soap responses.
    
      - Added parameter '-t dbonly' to backup.pl to only backup
        the database
    
      - Fixed bug#9491 - GenericAgent job update with dynamic
        fields sends Uninitialized value error.
    
      - Fixed bug#9462 - Package Management page timeout due to
        HTTPS disabled on Proxy connections.
    
      - 3.1.16
    
      - Fixed OSA-2013-03, CVE-2013-3551.
    
      - Updated Package Manager, that will ensure that packages
        to be installed meet the quality standards of OTRS
        Group. This is to guarantee that your package
        wasn’t modified, which may possibly harm your
        system or have an influence on the stability and
        performance of it. All independent package contributors
        will have to conduct a check of their Add-Ons by OTRS
        Group in order to take full advantage of the OTRS
        package verification.
    
      - Fixed bug#9387 - Error in a condition with dynamic
        fields in NotificationEvent.
    
      - Fixed bug#9286 - Ticket::ChangeOwnerToEveryone isn't
        functional, After a AJAX Load the setting is ignored.
    
      - Fixed bug#7518 - Escalation Notify by not working
        properly (follow-up fix).
    
      - Fixed bug#7478 - Got an external answer to an internal
        mail.
    
      - Improved permission checks in AgentTicketPhone.
    
      - Fixed
        bug#[9360](http://bugs.otrs.org/show_bug.cgi?id=9360) -
        DynamicField Names shown in CSV output.
    
      - Fixed bug#9384 - Problem with Method ServiceParentsGet
        of ServiceObject.
    
      - Fixed bug#9072 - Reply to email-internal includes
        customer users email in Cc. field.
    
      - 3.1.15
    
      - Added Malay translation.
    
      - Fixed bug#8960 - AgentTicketSearch.pm SearchProfile
        problem.
    
      - Fixed bug#9182 - Customer Search Function -> If you go
        into a ticket and go back you got not the search
        results.
    
      - Fixed bug#9198 - Linked search with fulltext AND
        additional attributes.
    
      - Fixed bug#9295 - Article dynamic field is not
        searchable.
    
      - Fixed bug#9312 - LinkObject permission check problem.
    
      - 3.1.14
    
      - Fixed for OSA-2013-01, CVE-2013-2625.
    
      - Fixed bug#9257 - No notifications to agents with
        out-of-office set but period not reached.
    
      - Improved permission checks in LinkObject.
    
      - Fixed bug#9191 - When ticket types are restricted, first
        available type is selected in
        AgentTicketActionCommon-based screens.
    
      - Updated Turkish translation, thanks to Sefer
        Şimşek / Network Group!
    
      - Fixed bug#9214 - IE10: impossible to open links from
        rich text articles.
    
      - Fixed bug#9218 - Cannot use special characters in
        TicketHook.
    
      - Fixed bug#9056 - Unused SysConfig option
        Ticket::Frontend::CustomerInfoQueueMaxSize.
    
      - Follow-up fix for bug#8533 apache will not start on
        Fedora.
    
      - Fixed bug#9172 - Generic Interface does not work on IIS
        7.0.
    
      - Updated Czech language translation, thanks to Katerina
        Bubenickova!
    
      - Fixed bug#8865 - Additional empty data column in
        statistics CSV-Output.
    
      - update OTRS::ITSM to 3.1.10 (fix for OSA-2013-05,
        CVE-2013-4717, CVE-2013-4718)
    
      - update OTRS::ITSM to 3.1.9 (fix for OSA-2013-03,
        CVE-2013-3551)
    
      - update OTRS::ITSM to 3.1.8 (fix for OSA-2013-01,
        CVE-2013-2625) (fix for OSA-2013-02, CVE-2013-2637)
    
      - update to 3.1.13
    
      - http://www.otrs.com/en/open-source/community-news/releases-notes/
    release-notes-otrs-help-desk-3113/
    
      - http://source.otrs.org/viewvc.cgi/otrs/CHANGES?revision=1.2260.2.206&view=markup
    
      - Fixed bug#9162 - Setting the start day of the week for
        the datepicker to Sunday does not work.
    
      - Fixed bug#9141 - Confused Columns in
        CustomerTicketSearch (ResultShort).
    
      - Fixed bug#9146 - Signed SMIME mails with altered content
        shows a not clear message.
    
      - Fixed bug#9145 - SMIME sign verification errors are not
        displayed in TicketZoom.
    
      - Fixed bug#9140 - Postmaster Filter for empty subjects
        does not work.
    
      - Fixed bug#9121 - Filenames with Unicode NFD are
        incorrectly reported as NFC by Main::DirectoryRead().
    
      - Fixed bug#9108 - Check for opened/closed tickets not
        working with Ticket::SubjectFormat = Right.
    
      - Fixed bug#8839 - DateChecksum followup doesn't get
        correctly SystemID.
    
      - Updated Russian translation, thanks to Vadim Goncharov!
    
      - Fixed bug#9101 - Not possible to create dropdown with
        autocomplete attribute.
    
      - Fixed bug#9096 - All services list is shown instead of
        only default services.
    
      - Fixed bug#8470 - otrs.GenericAgent.pl reports: Can't
        open
        '/opt/otrs/otrs_vemco/var/tmp/CacheFileStorable/DynamicF
        ield/f3b7e10730fb6c9cab5ae0e7f7e034f3'.
    
      - Added new translation for Spanish (Colombia), thanks to
        John Edisson Ortiz Roman!
    
      - Fixed bug#9054 - Link Object deletes all links under
        certain conditions.
    
      - Fixed bug#8944 - do not backup the cache.
    
      - Fixed bug#9057 - Generating a PDF with
        bin/otrs.GenerateStats.pl produces lots of warnings.
    
      - Fixed bug#8929 - Fix problems with empty ticket search
        results while
        Ticket::Frontend::AgentTicketSearch###ExtendedSearchCond
        ition is inactive.
    
      - Fixed bug#9042 - Add X-Spam-Score to Ticket.xml.
    
      - Fixed bug#9047 - HistoryTicketGet caches info on disk
        directly.
    
      - Fixed bug#8923 - Alert message shown, if parent window
        is reloaded while bulk action popup is open.
    
      - Fixed bug#9030 - Wrong handling of Invalid YAML in
        Scheduler Tasks.
    
      - Updated CKEditor to version 3.6.6.
    
      - Updated Polish translation, thanks to Pawel @ ib.pl!
    
      - Follow-up fix for bug#8805 - Cron missing as RPM
        dependency on RHEL. Changed dependency on 'anacron' to
        'vixie-cron' on RHEL5.
    
      - Fixed bug#9020 - Generic Ticket Connector does not
        support attachments with ContentType without charset.
    
      - Fixed bug#8545 - Attachment download not possible if pop
        up of another action is open.
    
      - Fixed bug#9009 - Empty Multiselect Dynamic Fields
        provokes an error.
    
      - Fixed bug#8589 - Bulk-Action not possible for single
        ticket.
    
      - Fixed bug#7198 - Broken repository selection width in
        Package Manager.
    
      - Fixed bug#8457 - Error if accessing AgentTicketSearch
        from AgentTicketPhone in IE8.
    
      - Fixed bug#8695 - Table head of Customer Ticket History
        does not resize on window resize.
    
      - Fixed bug#8533 - Apache will not start if you use
        mod_perl on Fedora 16 or 17.
    
      - Fixed bug#8974 - Event Based Notification does not
        populate REALNAME with Customer User data.
    
      - update to 3.1.12
    
      - Fixed bug#8933 - ArticleStorageInit permission check
        problem.
    
      - Fixed bug#8763 - Please add charset conversion for
        customer companies.
    
      - Fixed bug#1970 - Email attachments of type .msg
        (Outlook-Message) are converted.
    
      - Fixed bug#8955 - Init script might fail on SUSE.
    
      - Fixed bug#8936 - Ticket close date is empty when ticket
        is created in closed state.
    
      - Fixed bug#8937 - '$' should be escaped in interpolated
        strings when JavaScript is meant.
    
      - Fixed bug#8919 - Customer interface search results:
        ticket can only be accessed via ticket number and
        subject.
    
      - Fixed bug#8850 - CustomerTicketOverview - MouseOver Age
        isn't always correct.
    
      - Fixed bug#8868 - Event Based Notification problem saving
        'text' Dynamic Fields.
    
      - Fixed bug#8914 - Syntax error in hash loop in TicketGet
        operation.
    
      - Fixed bug#8749 - CustomerFrontend: missing dynamicfield
        in search results.
    
      - Fixed bug#8873 - Bad example of customization of
        'static' dynamic fields in AgentTicketOverviewSmall.
    
      - Fixed bug#8791 - IMAPTLS fails with some Microsoft
        Exchange servers.
    
      - Fixed bug#8841 - Search for Dynamic Fields shows all
        tickets (on 'enter' key pressed).
    
      - Fixed bug#8861 - Ticket History overlaid calender choice
        function.
    
      - Fixed bug#8862 - GI debugger GUI does not show SOAP XML
        tags correctly.
    
      - Fixed bug#8566 - Cannot download attachment if filename
        has character #.
    
      - Fixed bug#8833 - Article table in TicketZoom does not
        scroll correctly.
    
      - Fixed bug#8673 - Richtext-Editor popups broken on
        Customer-Interface.
    
      - Fixed bug#8859 - Package upgrade does not work if an
        installed testpackage should be upgraded with a newer
        regular package.
    
      - Fixed bug#8678 - 'WidgetAction Toggle' is always shown
        as 'Expanded' when nesting elements
    
      - Fixed bug#8378 - Validation fails if the ID of the
        element contains a dot (.) or a colon (:)
    
      - Fixed bug#8847 - Inline PGP message description routine
        does not add any info, thanks to IB Development Team.
    
      - Fixed bug#8848 - AgentTicketEmail does not preserve PGP
        Signatures set if attachment is added.
    
      - Fixed bug#8149 - Wrong handling of subject when
        SubjectFormat=right.
    
      - Updated Polish translation, thanks to Pawel!
    
      - Fixed bug#8820 - Service rcotrs restart fails because a
        race condition happens.
    
      - Fixed bug#8819 - Syntax error (stop crontab command) in
        SuSE rc script.
    
      - Removed auto cleanup of expired sessions in
        CreateSessionID() to improve the scalability of the hole
        system.
    
      - Fixed bug#8667 - TicketSplit does not use QueueID of old
        Ticket for ACL Checking.
    
      - Fixed bug#8780 - 508 Compliance: Text descriptions of
        'Responsible Tickets' and 'Locked Tickets' links are
        insufficient for screen reader users.
    
      - Fixed bug#8812 - Encrypted email doesn't see properly in
        Outlook.
    
      - Fixed bug#8214 - OTRS Init script on Red Hat fails to
        check scheduler.
    
      - Fixed bug#8850 - Cron missing as RPM dependency on Red
        Hat Enterprise Linux.
    
      - Fixed bug#7274 - Ticket QueueView sorts by priority on
        first page but subsequent pages sort incorrectly by Age.
    
      - Fixed bug#8792 - TriggerEscalationStopEvents logs as
        loglevel 'error'.
    
      - Fixed bug#8743 - AgentTicketCompose.pm creates To, CC,
        BCC filelds without spaces after comma.
    
      - Fixed bug#8606 - Escalation notifications should not be
        sent to agents who are set out-of-office.
    
      - Fixed bug#8740 - backup.pl: insufficient handling of
        system() return values.
    
      - Fixed bug#8622 - Storing a new GI Invoker or Operation
        with an existing name doesn't complain anything.
    
      - Fixed bug#8770 - AJAX Removes Default Options (follow-up
        fix).
    
      - Improved caching for Services and Service Lists.
    
      - Update ITSM to 3.1.7
    
      - News
    
      - In AgentTicketZoom the service and the sla are now shown
        as links to the service zoom / sla zoom screens.
    
      - Updated Polish translation, thanks to Pawel!
    
      - Added feature in bin/otrs.ITSMConfigItemDelete.pl script
        to delete config items by class together with the
        deployment state.
    
      - Added CustomerCompany field type that allows to link
        CI's with Customer Companies registered in OTRS.
    
      - Enhanced Import/Export screen to show a summary after
        importing.
    
      - Added new optional sysconfig option to check if config
        item names are unique.
    
      - Added attachment support for ITSM config items. This
        will replace the OTRS FeatureAddOn OTRSCIAttachment.
        Please uninstall this FeatureAddon BEFORE you upgrade to
        OTRS::ITSM 3.1.7 (no attachment data will be lost)!
    
      - Bug Fixes
    
      - Bug# 5928 - Print PDF: Newline not interpreted.
    
      - Bug# 8723 - Setting the planned start and planned end
        time to the same value causes an error.
    
      - Bug# 8785 - Poor performance of ServiceGet with many
        child services.
    
      - Bug# 8626 - AgentTicketAddtlITSMField, Ticket states set
        to first state after reload.
    
      - Bug# 8852 - No Impact and Criticality in
        CustomerTicketZoom.
    
      - Bug# 7786 - Search by 'type' not displaying correct
        results from page 2 on.
    
      - Bug# 8804 - Reorder of workorders based on actual
        startime.
    
      - Bug# 8686 - CI-Search can not handle > 1000 CIs per
        class
    
      - Bug# 8863 - Problem with ChangeManagement DropDowns in
        Conditions Mask.
    
      - Bug# 8834 - Broken changes created from template when no
        time offset.
    
      - Bug# 8830 - CI version header should be clickable in all
        columns.
    
      - Bug# 8613 - Wrong date if a workorder has been created
        from a template.
    
      - Bug# 8881 - Searching for a config item number = 0 or a
        config item name = 0 (without wildcards) finds results
        where it should not.
    
      - Bug# 8882 - Error message from ToolBarMyCAB.
    
      - Bug# 8614 - Update agent notification doesn't contain
        agent name.
    
      - Bug# 8615 - Notification not sent for ChangeStateUpdate
        to pending PIR.
    
      - Bug# 7508 - Autocomplete uses milliseconds rather than
        seconds.
    
      - rebase perm patch
    
      - fix changes file"
      );
      # http://bugs.otrs.org/show_bug.cgi?id=9360
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugs.otrs.org/show_bug.cgi?id=9360"
      );
      # http://source.otrs.org/viewvc.cgi/otrs/CHANGES?revision=1.2260.2.206&view=markup
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?b0b979b8"
      );
      # http://www.otrs.com/en/open-source/community-news/releases-notes/
      script_set_attribute(
        attribute:"see_also",
        value:"https://otrs.com"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=828850"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://lists.opensuse.org/opensuse-updates/2013-08/msg00027.html"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected otrs packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:otrs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:otrs-itsm");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:12.2");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:12.3");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/11/27");
      script_set_attribute(attribute:"patch_publication_date", value:"2013/08/02");
      script_set_attribute(attribute:"plugin_publication_date", value:"2014/06/13");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/SuSE/release");
    if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE");
    if (release !~ "^(SUSE12\.2|SUSE12\.3)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "12.2 / 12.3", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE12.2", reference:"otrs-3.1.18-20.17.1") ) flag++;
    if ( rpm_check(release:"SUSE12.2", reference:"otrs-itsm-3.1.10-20.17.1") ) flag++;
    if ( rpm_check(release:"SUSE12.3", reference:"otrs-3.1.18-26.5.1") ) flag++;
    if ( rpm_check(release:"SUSE12.3", reference:"otrs-itsm-3.1.10-26.5.1") ) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "otrs");
    }
    
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-2733.NASL
    descriptionIt was discovered that otrs2, the Open Ticket Request System, does not properly sanitise user-supplied data that is used on SQL queries. An attacker with a valid agent login could exploit this issue to craft SQL queries by injecting arbitrary SQL code through manipulated URLs.
    last seen2020-03-17
    modified2013-08-05
    plugin id69197
    published2013-08-05
    reporterThis script is Copyright (C) 2013-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/69197
    titleDebian DSA-2733-1 : otrs2 - SQL injection
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Debian Security Advisory DSA-2733. The text 
    # itself is copyright (C) Software in the Public Interest, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(69197);
      script_version("1.9");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/03/12");
    
      script_cve_id("CVE-2013-4717");
      script_bugtraq_id(61037);
      script_xref(name:"DSA", value:"2733");
    
      script_name(english:"Debian DSA-2733-1 : otrs2 - SQL injection");
      script_summary(english:"Checks dpkg output for the updated package");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Debian host is missing a security-related update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "It was discovered that otrs2, the Open Ticket Request System, does not
    properly sanitise user-supplied data that is used on SQL queries. An
    attacker with a valid agent login could exploit this issue to craft
    SQL queries by injecting arbitrary SQL code through manipulated URLs."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security-tracker.debian.org/tracker/CVE-2012-4751"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security-tracker.debian.org/tracker/CVE-2013-2625"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security-tracker.debian.org/tracker/CVE-2013-4088"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://packages.debian.org/source/squeeze/otrs2"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://packages.debian.org/source/wheezy/otrs2"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.debian.org/security/2013/dsa-2733"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "Upgrade the otrs2 packages.
    
    For the oldstable distribution (squeeze), this problem has been fixed
    in version 2.4.9+dfsg1-3+squeeze4. This update also provides fixes for
    CVE-2012-4751, CVE-2013-2625 and CVE-2013-4088, which were all fixed
    for stable already.
    
    For the stable distribution (wheezy), this problem has been fixed in
    version 3.1.7+dfsg1-8+deb7u3."
      );
      script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:S/C:N/I:C/A:N");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:otrs2");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:6.0");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:7.0");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2013/08/02");
      script_set_attribute(attribute:"plugin_publication_date", value:"2013/08/05");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2013-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Debian Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Debian/release", "Host/Debian/dpkg-l");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("debian_package.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/Debian/release")) audit(AUDIT_OS_NOT, "Debian");
    if (!get_kb_item("Host/Debian/dpkg-l")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    if (deb_check(release:"6.0", prefix:"otrs2", reference:"2.4.9+dfsg1-3+squeeze4")) flag++;
    if (deb_check(release:"7.0", prefix:"otrs", reference:"3.1.7+dfsg1-8+deb7u3")) flag++;
    if (deb_check(release:"7.0", prefix:"otrs2", reference:"3.1.7+dfsg1-8+deb7u3")) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:deb_report_get());
      else security_warning(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familyFreeBSD Local Security Checks
    NASL idFREEBSD_PKG_EAE8E3CF9DFE11E2AC7F001FD056C417.NASL
    descriptionThe OTRS Project reports : An attacker with a valid agent login could manipulate URLs in the object linking mechanism to see titles of tickets and other objects that are not obliged to be seen. Furthermore, links to objects without permission can be placed and removed.
    last seen2020-06-01
    modified2020-06-02
    plugin id65853
    published2013-04-08
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/65853
    titleFreeBSD : otrs -- Information disclosure and Data manipulation (eae8e3cf-9dfe-11e2-ac7f-001fd056c417)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from the FreeBSD VuXML database :
    #
    # Copyright 2003-2019 Jacques Vidrine and contributors
    #
    # Redistribution and use in source (VuXML) and 'compiled' forms (SGML,
    # HTML, PDF, PostScript, RTF and so forth) with or without modification,
    # are permitted provided that the following conditions are met:
    # 1. Redistributions of source code (VuXML) must retain the above
    #    copyright notice, this list of conditions and the following
    #    disclaimer as the first lines of this file unmodified.
    # 2. Redistributions in compiled form (transformed to other DTDs,
    #    published online in any format, converted to PDF, PostScript,
    #    RTF and other formats) must reproduce the above copyright
    #    notice, this list of conditions and the following disclaimer
    #    in the documentation and/or other materials provided with the
    #    distribution.
    # 
    # THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS"
    # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
    # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS
    # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
    # OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
    # OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
    # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
    # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
    # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION,
    # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(65853);
      script_version("1.4");
      script_cvs_date("Date: 2019/12/20");
    
      script_cve_id("CVE-2013-2625");
    
      script_name(english:"FreeBSD : otrs -- Information disclosure and Data manipulation (eae8e3cf-9dfe-11e2-ac7f-001fd056c417)");
      script_summary(english:"Checks for updated package in pkg_info output");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote FreeBSD host is missing a security-related update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "The OTRS Project reports :
    
    An attacker with a valid agent login could manipulate URLs in the
    object linking mechanism to see titles of tickets and other objects
    that are not obliged to be seen. Furthermore, links to objects without
    permission can be placed and removed."
      );
      # http://www.otrs.com/en/open-source/community-news/security-advisories/security-advisory-2013-01/
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?bbf5234b"
      );
      # https://vuxml.freebsd.org/freebsd/eae8e3cf-9dfe-11e2-ac7f-001fd056c417.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?fe27da60"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected package.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:otrs");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:freebsd:freebsd");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2013/04/02");
      script_set_attribute(attribute:"patch_publication_date", value:"2013/04/05");
      script_set_attribute(attribute:"plugin_publication_date", value:"2013/04/08");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"FreeBSD Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/FreeBSD/release", "Host/FreeBSD/pkg_info");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("freebsd_package.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/FreeBSD/release")) audit(AUDIT_OS_NOT, "FreeBSD");
    if (!get_kb_item("Host/FreeBSD/pkg_info")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    
    if (pkg_test(save_report:TRUE, pkg:"otrs<3.1.14")) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:pkg_report_get());
      else security_warning(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");