Vulnerabilities > CVE-2013-2637 - Cross-site Scripting vulnerability in multiple products

047910
CVSS 6.1 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
LOW
Integrity impact
LOW
Availability impact
NONE
network
low complexity
otrs
opensuse
CWE-79
nessus
exploit available

Summary

A Cross-Site Scripting (XSS) Vulnerability exists in OTRS ITSM prior to 3.2.4, 3.1.8, and 3.0.7 and FAQ prior to 2.1.4 and 2.0.8 via changes, workorder items, and FAQ articles, which could let a remote malicious user execute arbitrary code.

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Cross Site Scripting through Log Files
    An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
  • Embedding Scripts in Non-Script Elements
    This attack is a form of Cross-Site Scripting (XSS) where malicious scripts are embedded in elements that are not expected to host scripts such as image tags (<img>), comments in XML documents (< !-CDATA->), etc. These tags may not be subject to the same input validation, output validation, and other content filtering and checking routines, so this can create an opportunity for an attacker to tunnel through the application's elements and launch a XSS attack through other elements. As with all remote attacks, it is important to differentiate the ability to launch an attack (such as probing an internal network for unpatched servers) and the ability of the remote attacker to collect and interpret the output of said attack.
  • Embedding Scripts within Scripts
    An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
  • Cross-Site Scripting in Error Pages
    An attacker distributes a link (or possibly some other query structure) with a request to a third party web server that is malformed and also contains a block of exploit code in order to have the exploit become live code in the resulting error page. When the third party web server receives the crafted request and notes the error it then creates an error message that echoes the malformed message, including the exploit. Doing this converts the exploit portion of the message into to valid language elements that are executed by the viewing browser. When a victim executes the query provided by the attacker the infected error message error message is returned including the exploit code which then runs in the victim's browser. XSS can result in execution of code as well as data leakage (e.g. session cookies can be sent to the attacker). This type of attack is especially dangerous since the exploit appears to come from the third party web server, who the victim may trust and hence be more vulnerable to deception.
  • Cross-Site Scripting Using Alternate Syntax
    The attacker uses alternate forms of keywords or commands that result in the same action as the primary form but which may not be caught by filters. For example, many keywords are processed in a case insensitive manner. If the site's web filtering algorithm does not convert all tags into a consistent case before the comparison with forbidden keywords it is possible to bypass filters (e.g., incomplete black lists) by using an alternate case structure. For example, the "script" tag using the alternate forms of "Script" or "ScRiPt" may bypass filters where "script" is the only form tested. Other variants using different syntax representations are also possible as well as using pollution meta-characters or entities that are eventually ignored by the rendering engine. The attack can result in the execution of otherwise prohibited functionality.

Exploit-Db

descriptionOTRS 3.x - FAQ Module Persistent XSS. CVE-2013-2637. Webapps exploits for multiple platform
idEDB-ID:24922
last seen2016-02-03
modified2013-04-08
published2013-04-08
reporterLuigi Vezzoso
sourcehttps://www.exploit-db.com/download/24922/
titleOTRS 3.x - FAQ Module Persistent XSS

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&rsquo;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
        &#x15E;im&#x15F;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 familyFreeBSD Local Security Checks
    NASL idFREEBSD_PKG_661BD031C37D11E2ADDB60A44C524F57.NASL
    descriptionThe OTRS Project reports : An attacker with permission to write changes, workorder items or FAQ articles could inject JavaScript code into the articles which would be executed by the browser of other users reading the article.
    last seen2020-06-01
    modified2020-06-02
    plugin id66582
    published2013-05-24
    reporterThis script is Copyright (C) 2013-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/66582
    titleFreeBSD : otrs -- XSS vulnerability (661bd031-c37d-11e2-addb-60a44c524f57)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from the FreeBSD VuXML database :
    #
    # Copyright 2003-2020 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(66582);
      script_version("1.4");
      script_cvs_date("Date: 2020/02/19");
    
      script_cve_id("CVE-2013-2637");
    
      script_name(english:"FreeBSD : otrs -- XSS vulnerability (661bd031-c37d-11e2-addb-60a44c524f57)");
      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 permission to write changes, workorder items or FAQ
    articles could inject JavaScript code into the articles which would be
    executed by the browser of other users reading the article."
      );
      # http://www.otrs.com/en/open-source/community-news/security-advisories/security-advisory-2013-02/
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?d4ed1754"
      );
      # https://vuxml.freebsd.org/freebsd/661bd031-c37d-11e2-addb-60a44c524f57.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?82bb008c"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected package.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/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/05/23");
      script_set_attribute(attribute:"plugin_publication_date", value:"2013/05/24");
      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-2020 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.8")) 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");
    

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/121171/otrsfaq-xss.txt
idPACKETSTORM:121171
last seen2016-12-05
published2013-04-07
reporterLuigi Vezzoso
sourcehttps://packetstormsecurity.com/files/121171/OTRS-FAQ-Cross-Site-Scripting.html
titleOTRS FAQ Cross Site Scripting

Seebug

bulletinFamilyexploit
descriptionNo description provided by source.
idSSV:78602
last seen2017-11-19
modified2014-07-01
published2014-07-01
reporterRoot
sourcehttps://www.seebug.org/vuldb/ssvid-78602
titleOTRS FAQ Module - Persistent XSS